[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the short cut value for the specified key code and shift modifiers.
Source position: lcltype.pp line 3007
function KeyToShortCut( |
const Key: Word; |
const Shift: TShiftState |
):TShortCut; |
Key |
|
Key code for the short cut value. |
Shift |
|
Shift, Ctrl, Alt, or Meta modifier for the short cut value. |
TShortCut value for the specified key code and shift modifier.
The return value is determined by combining the value in Key with the Shift, Ctrl, Alt, or Meta modifiers in Shift. The return value is 0 if any of the high-order bits in Key are already set.
Version 3.2 | Generated 2024-02-25 | Home |