G
Guest
I have a form with a bunch (maybe 30) different controls that generate events
when changed, clicked, etc. The various event handlers in turn might change
some of these controls, thereby causing other events, which is not what I
want. So, is there a simple way to turn off all events for a particular
form, then turn them all back on? I know I can individually turn them off
and on by using -= and += but that seems like a pretty brutal thing to have
to do. There should be some simple soultion like the equivalent of "disable
interrupts" and "enable interrupts".
Thanks,
Ray
when changed, clicked, etc. The various event handlers in turn might change
some of these controls, thereby causing other events, which is not what I
want. So, is there a simple way to turn off all events for a particular
form, then turn them all back on? I know I can individually turn them off
and on by using -= and += but that seems like a pretty brutal thing to have
to do. There should be some simple soultion like the equivalent of "disable
interrupts" and "enable interrupts".
Thanks,
Ray