HotKeys (mneumonics) on Label controls?

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,462
Programming Experience
10+
I see apps that do this, but how are you detecting a hotkey on a label control and focusing the corresponding control, such as a TextBox?
 
It depends on the Tab order.

First you set the Tab order so the label immediately precedes the textbox. Labels don't get the focus, so if you use a hot key on the label, the focus goes to the next textbox in the Tab order.
 
Back
Top