Skip to content

TAccelerator

A single accelerator entry

Declaration

Source position: acceleratorsresource.pp line 40

type
  TAccelerator = packed record
    Flags: Word;
    Ansi: Word;
    Id: Word;
    padding: Word;
  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: