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