hi all,
im trying to raise a parent form event from my own control.
i have a simple activeX:
Printable View
hi all,
im trying to raise a parent form event from my own control.
i have a simple activeX:
What's your 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
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.
:)