G
Guest
When the lost focus event occurs on a combo box, I want to set the focus
elsewhere. The error message says I can't change the focus on something that
has the focus. I thought it lost the focus. And you can't hide it either
because it still has the focus. I guess it hasn't lost the focus until after
the lost focus event takes place. So, how can I get control when someone
clicks off the combo box yet hasn't made a selection yet?
This is the same question worded another way. Basically, I have a text box
on top of a combo box. When the text box gets the focus, it unhides the
combo, switches focus to the combo, and hides the text box. However, the
opposite is not allowed. When the combo looses focus, I want to unhide the
text box, give it the focus, and hide the combo. The error message states
that I can't hide nor change focus on something that has the focus. Yet I am
in the lost focus module, is there another place I can gain control?
elsewhere. The error message says I can't change the focus on something that
has the focus. I thought it lost the focus. And you can't hide it either
because it still has the focus. I guess it hasn't lost the focus until after
the lost focus event takes place. So, how can I get control when someone
clicks off the combo box yet hasn't made a selection yet?
This is the same question worded another way. Basically, I have a text box
on top of a combo box. When the text box gets the focus, it unhides the
combo, switches focus to the combo, and hides the text box. However, the
opposite is not allowed. When the combo looses focus, I want to unhide the
text box, give it the focus, and hide the combo. The error message states
that I can't hide nor change focus on something that has the focus. Yet I am
in the lost focus module, is there another place I can gain control?