Label mnemonic setting focus in TextBox?

  • Thread starter Thread starter Tim Rogers
  • Start date Start date
T

Tim Rogers

I have a TextBox with a Label to the left of it which describes the TextBox.
How can I have a mnemonic on the Label that will cause the TextBox to gain
focus?

Thanks,

Tim Rogers
 
Apparently, setting the tab order such that the TextBox follows the Label
achieves the effect I want. Is this the recommended way of achieving this?

Tim Rogers
 
Is this the recommended way of achieving this?
AFAIK. Don't forget the UseMnemonic property needs to be true (it is by default)
Ian Cooper
wwww.dnug.org.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top