Hi all,
Does anyone know if it is possible to terminate an event from within the event handler.
My problem is this, I have a class that handles the onClick event of a tab control within a form but I also have the same event within the form itself to handle specific items relating to the tab control before the class event kicks in.
What I want to do is check certain things within the form event handler before it falls through to the (overloaded) class event handler. If certain criteria are not met within this event handler I want to stop it going to the overloaded handler. So basically is there a way to stop the second handler kicking in?
TIA
Wux.
Does anyone know if it is possible to terminate an event from within the event handler.
My problem is this, I have a class that handles the onClick event of a tab control within a form but I also have the same event within the form itself to handle specific items relating to the tab control before the class event kicks in.
What I want to do is check certain things within the form event handler before it falls through to the (overloaded) class event handler. If certain criteria are not met within this event handler I want to stop it going to the overloaded handler. So basically is there a way to stop the second handler kicking in?
TIA
Wux.