D
dhstein
This should be a fairly simple and I would think a fairly common situation.
I have a control - let's call it "Control #1". The user clicks Control #1
and another control (Control #2) becomes visible. He uses the control #2
(combo box, text box, whatever) and when he's done he clicks another control
(Control #3) to do something else. I'd like to hide Control #2 at this
point.
Problem 1 If I use the lost focus event of Control # 2 I can't hide it.
Problem 2 If I set focus to some control (Control #99) then the user who
clicked Control #3 is now sitting on Control 99 - that's confusing.
The cumbersome way is to go to every control on the form and the first thing
it does is hide Control #2. I have a lot of controls and I would think there
is a better way. Anybody have a better way? Thanks.
I have a control - let's call it "Control #1". The user clicks Control #1
and another control (Control #2) becomes visible. He uses the control #2
(combo box, text box, whatever) and when he's done he clicks another control
(Control #3) to do something else. I'd like to hide Control #2 at this
point.
Problem 1 If I use the lost focus event of Control # 2 I can't hide it.
Problem 2 If I set focus to some control (Control #99) then the user who
clicked Control #3 is now sitting on Control 99 - that's confusing.
The cumbersome way is to go to every control on the form and the first thing
it does is hide Control #2. I have a lot of controls and I would think there
is a better way. Anybody have a better way? Thanks.