PDA

Click to See Complete Forum and Search --> : problem with WithEvents!!!!!!!!!!!!!!


kandan
Nov 15th, 1999, 11:56 AM
hi all,
i am using a withevents with in a activeX control module.

private withevents objparent as form..

but its givin probs..THIS COMPONENT DOESNT SUPPORT THIS SET OF EVENTS(ERROR 459)..

Crazy D
Nov 15th, 1999, 03:01 PM
AFAIK you can only declare WithEvents if you declared an event in the declarations-sections
eg. Event Dummy(pParam As Long)

kandan
Nov 15th, 1999, 05:09 PM
hi crazy,

Private WithEvents ObjParent as Form

here objparent is a variable of a built in form object. we r getting all the events associated with the form with the objparent variable.
but still its not working..............