Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setfocus MDI form disaster!

Status
Not open for further replies.

Maximilian

Programmer
Aug 11, 2001
1
IT
Dear Friends I'm becoming foolish!
Well, I'm devoloping an application with MDI child and parent forms; I want to reduce the use of mouse and so I use massively the keyboard; one of many problem that I've found doing this is this: when I press the key "F10" inside a textbox control (using the keydown event), I make not visible some other controls (labels and other textboxes) and if I press the key "F10" again, I make visible these controls again (repeatedly, like a switch): but, after I do this the first time, the second time the key "F10" does not function and I have to repeat 2 times this key to obtain the desired result, because I think that the focus is given to the menu of the MDI parent (the first time) and then to the control. Have you never found this strange problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top