Vcl.Menus.ShortCutToKey
Delphi
procedure ShortCutToKey(ShortCut: TShortCut; var Key: Word; var Shift: TShiftState);
C++
extern DELPHI_PACKAGE void __fastcall ShortCutToKey(System::Classes::TShortCut ShortCut, System::Word &Key, System::Classes::TShiftState &Shift);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
Gives a shortcut, fills Key
with the code of the main key of the shortcut, and fills Shift
with the combination of modifier keys of the shortcut, if any.