[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

Shortcuts won't work

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
Theophilus
Asked:
Theophilus
  • 2
1 Solution
 
EpsylonCommented:
Same problem here so I tried it with Actions and then it works.
0
 
PetriWorkCommented:
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
 
DantryCommented:
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
 
EpsylonCommented:
Use Actions!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now