Link to home
Start Free TrialLog in
Avatar of Dennis9
Dennis9

asked on

TShortcut To String and visa versa?

Hi Experts.
If there a way i can convert a TShortcut to a string value, and back again (StringToShortcut...)?

The TShortcut value comes from the Hotkey vcl. I want to be able to ex:
Showmessage(ShortcutToStr(Hotkey1.Hotkey));

//and set the hotkey1.hotkey from a string:
Hotkey1.Hotkey := StrToShortcut('Ctrl+Shift+B');

Please help.

Cheers Dennis
Avatar of kretzschmar
kretzschmar
Flag of Germany image

what about shortcuttotext and texttoshortcut functions?
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dennis9
Dennis9

ASKER

Coolio it works. I had seen them a day then i totally forgot about them...
Thanks man

dkn