JVCL Help:TJvCustomValidator
JVCL Help: TJvCustomValidator Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvComponent
TJvBaseValidator
TJvCustomValidator
run\JvValidators.pas
Summary
Validator for custom validation.
Pascal
run\JvValidators.pas
TJvCustomValidator = class(TJvBaseValidator);
Description
Use a TJvCustomValidator when none of the other validators can perform the validation you need. TJvCustomValidator does not handle validate itself. Instead it delegates the validation to the OnValidate event.
Write an event handler for the OnValidate event that returns whether the validation succeeded or not. You can perform validation without assigning to the ControlToValidate property or to the PropertyToValidate property since this validator doesn't use these properties itself.
See Also
TJvCompareValidator, TJvRangeValidator, TJvRegularExpressionValidator, TJvRequiredFieldValidator
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page