RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterField.DoOnValidateValue Method

Validates a single value entered by the end-user.

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

DoOnValidateValue calls the inherited DoOnValidateValue. If this succeeds by not raising an exception then additional checks are made. One check tests that the request does not contain more than one value for this adapter field. Another check is performed if the Required property is True. In this case, the request must contain a value for this adapter field. An exception is raised if any of these checks fail. 

 

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