Sign in Join
FPDoc Onlineexperiment

TCustomEdit.CMWantSpecialKey procedure

Member of TCustomEditprotectedIn unit StdCtrls

Handles the CM_WANTSPECIALKEY message for the control.

Declaration

pascal
procedure CMWantSpecialKey(var Message: TCMWantSpecialKey); message

Arguments

Message

Message handled in the method.

Description

For the Darwin platform/widgetset, the LCL must be prevented from handling the arrow (cursor) keys VK_LEFT, VK_RIGHT, VK_UP, and VK_DOWN. The Result in Message is set to 1 to indicate that these keys have already been handled.

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