TDBEdit.WndProc procedure
Handles the specified LCL message for the control.
Declaration
procedure WndProc(var Message: TLMessage); overrideArguments
Message | LCL message examined and applied in the method. |
Description
WndProc is an overridden method in TDBEdit. It is used to process
the specified LCL message for the control. WndProc ensures that the message
is applied to the linked dataset when it can be modified, and handles the
following LCL messages:
- LM_CLEAR
- LM_CUT
- LM_PASTE
The Edit and Modified methods in the internal TFieldDataLink instance are called, and the DataChange method is called to post changes for the control. No actions are performed on the dataset when it cannot be modified, but the result value in Message is set to 1 to prevent calling the default procedure for the window.
WndProc calls the inherited method prior to exit.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
