Message 1 of 2
Raise OnStartEvent for custom button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all,
The OnStartCommand event is raised whenever I click on a normal button in a tab/panel.
When I add my custom button with my own custom code (command) behind it, it doesn't raise the event. Is there a way to raise the event myself?
I believe would also need a custom CommandIDEnum to raise the event. How would I define my own, if at all possible?
My goal is to abort the code behind my button (my custom command) once a different command has been started.
Thank you!