?
Solved

TShortcut To String and visa versa?

Posted on 2002-04-05
3
Medium Priority
?
2,204 Views
Last Modified: 2007-11-27
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
0
Comment
Question by:Dennis9
  • 2
3 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6920552
what about shortcuttotext and texttoshortcut functions?
1
 
LVL 27

Accepted Solution

by:
kretzschmar earned 300 total points
ID: 6920553
see delphi-help for this above
0
 
LVL 1

Author Comment

by:Dennis9
ID: 6920573
Coolio it works. I had seen them a day then i totally forgot about them...
Thanks man

dkn
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question