Sign in Join
FPDoc Onlineexperiment

TAccelerator record

In unit acceleratorsresource

A single accelerator entry

Declaration

pascal
TAccelerator = packed record

Description

A single accelerator entry in the accelerator table resource.

The key associated with the accelerator is represented by Ansi field: it can be a character or a virtual-key code (in the latter case, FVirtKey flag must be active).

The accelerator is identified by the value of id field.

Flags is a combination of the following values:

Fields

FlagsA set of flags that can be combined to specify an accelerator's characteristics.
AnsiAn ANSI character value or a virtual-key code
IdAn integer value that identifies the accelerator
paddingUsed to keep record size aligned on a DWORD boundary

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.