Results 1 to 5 of 5

Thread: adding an event

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    15

    adding an event

    hi,

    i would like to add an event click to a shape

    so i opened the activex control and put a shape on it

    then in my code i wrote

    public event click()

    in the testing form i have

    private sub usercontrol1_click()
    msgbox "test"


    problem is when testing, i click on the shape and no **** happens, what am i doing wrong

    hope somebody can help

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    do u raise the event (RaiseEvent EventName(Paramaters...)?

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    15
    i've tried raiseevent, but i do not really know where to put that

    i wrote raiseevent click() in my standard exe

    but nothing happened

    thx for helping

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    15
    i've tried raiseevent, but i do not really know where to put that

    i wrote raiseevent click() in my standard exe

    but nothing happened

    thx for helping

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    15
    héhé i found it, the raiseevent should be in the activex control
    okéééééé thx

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