PDA

Click to See Complete Forum and Search --> : Events from Form to ActiveX


MrPresident2k
Jun 4th, 2002, 11:22 PM
Hi,

Can I declare an Event in a Form in an ActiveX control and trap the event from the cotrol?
For Example I have an Event in the Form.

Public Event A()

And Iam raising the Event in the form at a particular point

RaiseEvent A

How do I capture this event in the ActiveX control? Can I do this or is there any alternative?

Thanks,
Pres

Stiletto
Jun 5th, 2002, 07:12 AM
After you decliared the event, go to the app which calls the ActiveX, and there you can put the code in whichi will rub when the event is fired.