RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TField.Validate Method

Generates an OnValidate event.

Pascal
procedure Validate(Buffer: Pointer);
C++
__fastcall Validate(void * Buffer);

Call Validate to validate the unformatted data pointed to by the Buffer parameter. Validate is called by the dataset when writing new values to the current record. 

The value of Buffer does not affect the value of the field outside the OnValidate event handler. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!