Home > Back-end >  How to set the hotkey Delphi SpeedBotton
How to set the hotkey Delphi SpeedBotton

Time:10-17

As title, I think in setting a speedbotton shortcuts like Alt + C

Look not to understand ah on baidu

Baidu said: in the window to add a TActionList, double-click, add the Action, the Action you can set shortcuts, finally put SpeedButton Action attribute is set to the corresponding Action in the Action list,

Pray god guide be appreciated

CodePudding user response:

Two apis, hotkey registration and cancellation
RegisterHotKey
UnregisterHotKey

CodePudding user response:

refer to the original poster janeanndavid response:
on baidu is this to say: the window to add a TActionList, double-click, add the Action, the Action you can set the shortcut keys, and finally put SpeedButton Action attribute is set to the corresponding Action in the Action list.


O says there is clear, the purpose is to do a set of shortcuts SpeedButton Action for you, the purpose of your shortcut is to perform the specified operation

CodePudding user response:

reference 1st floor sololie response:
two apis, hotkey registration and cancellation
RegisterHotKey
UnregisterHotKey


You this is to set up the system hotkey, set the global hotkeys, generally in the form of the OnkeyDown set with respect to ok

CodePudding user response:

Add an action list controls, directly inside the new Action1, Action2... Write in this event, at the same time can be set up on the Action hotkey
Choice you SpeedButton Action inside it

CodePudding user response:

CodePudding user response:

refer to the original poster janeanndavid response:
, such as title, I think in setting a speedbotton shortcuts like Alt + C

Look not to understand ah on baidu

Baidu said: in the window to add a TActionList, double-click, add the Action, the Action you can set shortcuts, finally put SpeedButton Action attribute is set to the corresponding Action in the Action list,

Pray god guide appreciate


Look at the figure above, this can understand
  • Related