ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Accelerator keys (https://www.excelbanter.com/excel-programming/417366-accelerator-keys.html)

Albert Browne

Accelerator keys
 
Hi,

I have a number of text boxes on a form each has a label. I can add an
accelerator key to the label but can't see how to get this key to set focus
to the text box. Can I bind the label to the text box so that the key sets
focus to the text box?

Thanks,

Albert


Peter T

Accelerator keys
 
Ensure the tab index of the label with the accelerator is one before that of
the "linked" textbox. See Tab order in the View menu.

Regards,
Peter T

"Albert Browne" wrote in message
...
Hi,

I have a number of text boxes on a form each has a label. I can add an
accelerator key to the label but can't see how to get this key to set
focus to the text box. Can I bind the label to the text box so that the
key sets focus to the text box?

Thanks,

Albert





All times are GMT +1. The time now is 02:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com