Results 1 to 4 of 4

Thread: raise event question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Barcelona, Spain
    Posts
    2

    Question raise event question

    hi all,
    im trying to raise a parent form event from my own control.
    i have a simple activeX:

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Fort Worth, Texas, USA
    Posts
    264
    What's your question?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Barcelona, Spain
    Posts
    2

    VB.NET Question

    hi,

    i hope y will understand my bad english.

    The question is..

    i have a simple ActiveX with a DataGrid and some buttons.
    when adding this control to a window form, is there any way to raise an event in this window form, p.e byi clicking one of the buttons from the activeX?

    hope i trasmited my question,

    thks

  4. #4
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    After you have added the control to your form, click on it to make sure that it is active. Now, look at the properties for the control (should be in the bottom right corner). You should see a small button that has a picture of a lightning bolt on it. Click on this button to see a list of all the potential events you can add for your control. To add the event, just double click in the text box next to the name of the event. Done.
    -scott
    he he he

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