G
Guest
This is just a minor question, but it's one that has me stumped:
I have a control that I would like to make invisible after the user leaves
it. However, I also know you can't disable a control when it has the focus,
so I can't use the OnExit or OnLostFocus events of this control. Is there a
simple way to do this --- or am I going to have to do it the hard way?
Here's the "hard way" that I've come up with so far: Code a visible=false
into the OnEnter event of all other controls on the form. That seems kind of
clunky, but I haven't come up with anything else that works.
Thanks in advance!
I have a control that I would like to make invisible after the user leaves
it. However, I also know you can't disable a control when it has the focus,
so I can't use the OnExit or OnLostFocus events of this control. Is there a
simple way to do this --- or am I going to have to do it the hard way?
Here's the "hard way" that I've come up with so far: Code a visible=false
into the OnEnter event of all other controls on the form. That seems kind of
clunky, but I haven't come up with anything else that works.
Thanks in advance!