Click to See Complete Forum and Search --> : Events


MoonNight
December 4th, 2002, 01:09 PM
Hi there!

Is there a way to disable the generation of events without disabling the combo box?

Thank you

Athley
December 4th, 2002, 04:04 PM
If you mean that you want to prevent an event from fireing sort of you might use a public variable that you set to true when you want to prevent an event for example. And then in the event you check that variable the first thing you do, something like....

If var = true Then Exit sub

Maybe this was not what you meant, then just don't listen to this... :)

/Leyan

MoonNight
December 5th, 2002, 08:48 AM
Thank you for your help.

I was aware of such method, but only wondered if other alternatives exists. I guess that as long as it gets the job done I shouldn't complain ;)