Sign in Join
FPDoc Onlineexperiment

TCustomDBComboBox.WndProc procedure

Member of TCustomDBComboBoxprotectedIn unit DBCtrls

Handles cut, copy and paste window messages for the control.

Declaration

pascal
procedure WndProc(var Message: TLMessage); override

Arguments

Message

LCL window message examined in the method.

Description

WndProc is an overridden method in TCustomDBComboBox. WndProc ensures that LCL Cut, Copy, and Paste window messages are applied when both the control and the dataset can be modified. WndProc uses the internal TFieldDataLink instance to examine the value in CanModify. When it is True, the inherited method is called. Otherwise, the Message result is set to 1 to prevent calling the default window process.

The inherited method is called for LCL window messages other than Cut, Copy, and Paste.

See also

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