Solved

Shortcuts won't work

Posted on 2000-03-16
4
188 Views
Last Modified: 2010-04-04
In a project I'm working on I have a TToolButton with the Style property set to tbsDropDown. In the associated DropdownMenu I have set the ShortCut property for some of the Items but none of them work. Does anybody have any suggestions about what I may be doing wrong?
0
Comment
Question by:Theophilus
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2625162
Same problem here so I tried it with Actions and then it works.
0
 

Expert Comment

by:PetriWork
ID: 2627125
Yes, you need to use Actions to get it to work again. The long path would be to trap when the user presses down keys would be to trap the message and process it manually but that's purelly a waste of time IMHO.
That Actions actually are a good thing is only a bonus =)

Peter
0
 

Expert Comment

by:Dantry
ID: 2630640
The toolbutton couldn't response the keydown. It must be activation by the mouse click.

If you activate it and its popup menu disappear, the shortcuts will response the only one key described by the shortcuts, such as the A.

Notice it not response the combination keys, such as the Ctrl+A.
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 100 total points
ID: 2637005
Use Actions!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

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

10 Experts available now in Live!

Get 1:1 Help Now