[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Returns the localized textual representation for a shortcut value.
Source position: lclproc.pas line 90
function ShortCutToText( |
ShortCut: TShortCut |
):string; |
ShortCut |
|
TShortCut instance with the numeric shift modifier and key code handled in the routine. |
Localized text value for the specified shortcut.
ShortCutToText is the counterpart to the TextToShortCut routine, and converts the numeric TShortCut value in ShortCut its textual representation.
ShortCut is the Word value with the modifier keys and the key code OR'd together. The high-order byte contains the Shift/Ctrl/Alt/Meta modifier(s) for the shortcut. The low-order-byte contains the virtual key code for the shortcut.
The return value contains localized versions of text for the modifiers and the key cap used in the shortcut. For example:
Ctrl+V Ctrl+Alt+Del ^V Shift+F9 Alt+G Meta+Q
Use ShortCutToTextRaw to get the text for a shortcut without localization.
|
Converts a shortcut value to its text representation without localization. |
|
|
Converts the textual representation for a shortcut to its TShortCut value. |
|
Version 3.2 | Generated 2024-02-25 | Home |