Solved

Shortcuts won't work

Posted on 2000-03-16
4
193 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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