Extending an event?

0 views
Skip to first unread message

xavram

unread,
Mar 26, 2009, 12:08:41 PM3/26/09
to EEGUI
I have a "MyButton" class that derives from guiButton. I want to add
a sub to this so that whenever a button using this is clicked, this
event fires. What I don't want to have to do is go to each individual
button's click event on their respective forms and individually call
this event.

So is there a way to "extend" the Click event? Basically add some
kind of Click sub to the MyButton class and have the code in there get
executes whenever any button is clicked?

Can't seem to get this to work right and I'm not sure if I'm trying to
do something that simply isn't possible.
Reply all
Reply to author
Forward
0 new messages