[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled to perform validation for a cell value.
Source position: grids.pas line 1317
protected property TCustomGrid.OnValidateEntry : TValidateEntryEvent |
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.
|
Validates the value for the specified cell. |
|
|
Specifies the event handler used to validate the content in a grid cell. |
|
|
HandleException method for handling an exception; attempts to maintain program execution if possible, otherwise exits gracefully. |
Version 3.2 | Generated 2024-02-25 | Home |