[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TValidateEntryEvent

Specifies the event handler used to validate the content in a grid cell.

Declaration

Source position: grids.pas line 383

type TValidateEntryEvent = procedure(

  Sender: TObject;

  aCol: Integer;

  aRow: Integer;

  const OldValue: string;

  var NewValue: string

) of object;

Arguments

Sender

  

Grid generating the event notification.

aCol

  

Column number for the cell.

aRow

  

Row number for the cell.

OldValue

  

Value checked in the event handler.

NewValue

  

Value returned from the event handler.

Description

TValidateEntryEvent specifies an event handler used to validate the content in a grid cell. TValidateEntryEvent is the type used to implement the OnValidateEntry in TCustomGrid. Applications must implement an object procedure using the event signature to respond to the event notification.

See also

TCustomGrid.OnValidateEntry

  

Event handler signalled to perform validation for a cell value.

TCustomGrid.ValidateEntry

  

Validates the value for the specified cell.

TCustomGrid.EditorDoGetValue

  

Gets the value for the cell Editor.

TCustomStringGrid.SelectionSetText

  

Stores the specified Tab-separated values to the Selection in the grid.


Version 3.2 Generated 2024-02-25 Home