Solved

TShortcut To String and visa versa?

Posted on 2002-04-05
3
2,081 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 100 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now