Vcl.ValEdit.TOnValidateEvent

From RAD Studio API Documentation
Jump to: navigation, search

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
typedef public 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.

See Also