JVCL Help:TJvValidators.Items

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

Search in JVCL Help

 
Search in all projects
 

Summary

Provides indexed access to the validators maintained by this component.


Pascal

 propertyItems [Index: Integer]: TJvBaseValidator;


Description

Use Items to access individual validators in this component. The valid range of Index ís between 0 and Count - 1. The order of the validators can have impact on how effective validations are. For example, a validation for a control that can potentially take a long time should be placed later in the list than a validation for the same control that takes less time since validations are performed in order starting with the first validator. If the faster validation fails, no time is wasted performing the slower validation.
To rearrange validators at design time, click the Items property in the Object Inspector and use the up and down arrows to move the validator. To rearrange validators at runtime, use the Exchange function.


See Also

TJvValidators.Count, TJvValidators.Exchange


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