Message 1 of 9

Not applicable
09-02-2011
04:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In the Default.ivb I have created a function that creates a new panel and adds some buttons in the panel.
I see the panel and the buttons, but nothing happens when I click on them.
The documentation says that in order to listen to the events of my buttons I should declare a "Private WithEvents ButDef As ButtonDefinition", but it when I try I get an error message "Only valid in object module"
Another question, still related to the events, I would expect to find a _StartUp event where I should run my function, but I can't find that event.
What am I missing?
Thanks,
Stefano
Solved! Go to Solution.