JVCL Help:TJvCustomValidator

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvComponent
TJvBaseValidator
TJvCustomValidator
run\JvValidators.pas


Summary

Validator for custom validation.

run\JvValidators.pas


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.

run\JvValidators.pas


See Also

TJvCompareValidator, TJvRangeValidator, TJvRegularExpressionValidator, TJvRequiredFieldValidator

run\JvValidators.pas


About

Navigation

run\JvValidators.pas



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