Solved

Shortcuts won't work

Posted on 2000-03-16
4
195 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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