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.
 
Back
Top