change shorcut key of a button at runtime.

Joined
Aug 13, 2014
Messages
1
Reaction score
0
I want to change the shortcut key of a button when then text attribute of the button is changed by code through runtime. But it seems doesn't work.

for examples
button.text = "&Modify"

After the code above executed, the shortkey ALT+M do not add.
 

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

Top