Sign in Join
FPDoc Onlineexperiment

TApplication.ExtendedKeysSupport property

Member of TApplicationpublicIn unit Forms

Controls whether extended key codes are available in key down and key up messages.

Declaration

pascal
property ExtendedKeysSupport: Boolean read FExtendedKeysSupport write FExtendedKeysSupport;

Description

When enabled, ExtendedKeysSupport causes Shift, Ctrl, and Alt (Menu) (Options or Mac OS) to generate distinct values for the left and right keys. The values can then be handled in OnKeyDown and OnKeyUp event handlers, or in overridden KeyDown and KeyUp methods.

See VK_LSHIFT in LCLType for more details.

See also

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