Vcl.ValEdit.TOnValidateEvent
Delphi
TOnValidateEvent = procedure(Sender: TObject; ACol, ARow: Longint;
const KeyName, KeyValue: string) of object;
C++
typedef void __fastcall (__closure *TOnValidateEvent)(System::TObject* Sender, int ACol, int ARow, const System::UnicodeString KeyName, const System::UnicodeString KeyValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ValEdit.pas Vcl.ValEdit.hpp |
Vcl.ValEdit | Vcl.ValEdit |
Description
TOnValidateEvent is the type for event handlers that validate the values a user types into a value list editor.
Sender is the value list editor that contains the edited cell.
ACol and ARow identify the cell by its column and row numbers, respectively. The first row or column has an index of 0, the second has an index of 1, and so on.
KeyName is the current value of in the key column for ARow. This value includes any edits that have not yet been committed.
KeyValue is the current value of the value column for ARow. This value includes any edits that have not yet been committed.