enumerate Event handlers For a control
-
Hi I have a Button(for example) and I want to check how many click eventhandlers have been assigened tothis Button how can I do it? ----- suppose that I have a Button , I want to assign an eventhandler for its click event, only if it has no eventhandler. how can I do it?
-
Hi I have a Button(for example) and I want to check how many click eventhandlers have been assigened tothis Button how can I do it? ----- suppose that I have a Button , I want to assign an eventhandler for its click event, only if it has no eventhandler. how can I do it?
I've got a huge headache right now (side-effect of being at work!), so I could be wrong here, but I don't think there is a way for you to do that. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
I've got a huge headache right now (side-effect of being at work!), so I could be wrong here, but I don't think there is a way for you to do that. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Hi Tanx, what is the usage of Me.Events? Can't it help me?
-
Hi Tanx, what is the usage of Me.Events? Can't it help me?
Nope. It's a Protected, ReadOnly property that returns an
EventHandlerList
object. TheEventHandlerList
has no enumeration capabilities since it is not a true collection. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome