Unit 'acceleratorsresource' Package
[Overview][Constants][Types][Classes][Index] [#fcl-res]

TAccelerator

A single accelerator entry

Declaration

Source position: acceleratorsresource.pp line 40

type TAccelerator = packed record

  Flags: Word;

  

A set of flags that can be combined to specify an accelerator's characteristics.

  Ansi: Word;

  

An ANSI character value or a virtual-key code

  Id: Word;

  

An integer value that identifies the accelerator

  padding: Word;

  

Used to keep record size aligned on a DWORD boundary

end;

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:


Documentation generated on: Nov 22 2024