By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,028 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,028 IT Pros & Developers. It's quick & easy.

How do I assign an access key to a button VB.Net?

P: 4
I'm in visual Basic programming, I'm trying to create a simple program but I don't know how to assign access key to a button
May 28 '20 #1

✓ answered by SioSio

For example, the text "End (X)" can be implemented by adding the character string "End (& X)" to the Text property of the Button control. The access key is Alt + X.
If you don't want to use the Alt key, use the Keypress event.

Share this Question
Share on Google+
2 Replies


100+
P: 134
For example, the text "End (X)" can be implemented by adding the character string "End (& X)" to the Text property of the Button control. The access key is Alt + X.
If you don't want to use the Alt key, use the Keypress event.
May 29 '20 #2

P: 4
Thank you very much.
May 29 '20 #3

Post your reply

Sign in to post your reply or Sign up for a free account.