[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Searches for the given virtual key, used as an accelerator.
Source position: forms.pp line 1746
function IsAccel( |
VK: Word; |
const Str: string |
):Boolean; |
VK |
|
The virtual key (uppercase ASCII) to find. |
Str |
|
The string to scan. |
True when the key is used as an accelerator.
An accelerator consists of an ampersand followed by the accelerator key. Duplicate ampersands are ignored, they denote an literal (displayed) ampersand.