RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterMemoField.DoOnValidateValue Method

Validates a value entered by the end user.

Pascal
procedure DoOnValidateValue(AValue: IActionFieldValue; var AHandled: Boolean); override;
C++
virtual __fastcall DoOnValidateValue(IActionFieldValue AValue, Boolean AHandled);

DoOnValidateValue overrides TAdapterUpdateField's DoOnValidateValue method. After calling TAdapterUpdateField's DoOnValidateValue, DoOnValidate checks that only a single text file or file has been uploaded for this field. An exception will be raised to indicate a validation error. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!