TStringCellEditor.WndProc procedure
Implements the message processing loop for the cell editor control.
Declaration
procedure WndProc(var TheMessage: TLMessage); overrideArguments
TheMessage | LCL message handled in the method. |
Description
WndProc is an overridden method in
TStringCellEditor
which implements the message processing loop for the cell editor control.
WndProc ensures that the column for the cell in the grid control is not marked as read-only when handling cut (LM_CUT), paste (LM_PASTE), and clear (LM_CLEAR) messages in TheMessage argument. No actions are performed in the method when the EditorIsReadOnly method in the associated grid control returns True.
If the grid control has not been assigned, or TheMessage contains a different message identifier, the inherited method in TCustomEdit is called to handle the specified message.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
