Results 1 to 3 of 3

Thread: problem with WithEvents!!!!!!!!!!!!!!

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Posts
    52

    Post

    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)..



  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    AFAIK you can only declare WithEvents if you declared an event in the declarations-sections
    eg. Event Dummy(pParam As Long)

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 1999
    Posts
    52

    Post

    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..............

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width