Runtime Change of Push Button Access key [message #83825] |
Tue, 16 December 2003 06:07 |
Souvik Kundu
Messages: 3 Registered: November 2003
|
Junior Member |
|
|
Hi All,
I need to change the access key of a push button in runtime. Actually the button name needs to be changed in runtime so I need to change the access key also. I tried with set_item_property but could not find a solution.
Thanks in advance
Souvik Kundu
|
|
|
Re: Runtime Change of Push Button Access key [message #83826 is a reply to message #83825] |
Tue, 16 December 2003 15:49 |
Praveen.B
Messages: 25 Registered: August 2002
|
Junior Member |
|
|
Hi,
You can change it.Try this out say you have Button having label &TEST with T as a access key you can change the label using SET_ITEM_PROPERTY thus changing the access key
SET_ITEM_PROPERTY(':BLK.ITM',LABEL,'TE&ST');
now access key is changed to S
|
|
|