Sign in Join
FPDoc Onlineexperiment

TValidateEntryEvent procedure type

In unit Grids

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

Declaration

pascal
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

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