Sign in Join
FPDoc Onlineexperiment

TStringGrid.OnValidateEntry property

Member of TStringGridpublishedIn unit Grids

Event handler signalled to perform validation for a cell value.

Declaration

pascal
property OnValidateEntry:;

Description

OnValidateEntry is a TValidateEntryEvent property with the event handler signalled to perform validation for cells in the ValidateEntry method. The OldValue argument contains the value validated in the handler routine. Use the NewValue argument to return a modified value from the handler routine.

The handler can raise an Exception if needed. It is caught in the calling routine (ValidateEntry), and forwarded to the HandleException method in the Application singleton.

Updated cell values are not validated if the event handler has not been assigned.

This description is the one of Grids.TCustomGrid.OnValidateEntry.

See also

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