JVCL Help:TJvBaseValidator.OnValidateFailed

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the validation fails.


Pascal

 propertyOnValidateFailed: TNotifyEvent;


Description

Write a handler for the OnValidateFailed event to take specific action when a validation fails. If you don't write any event handler, you should use one of the other means of displaying the error to the user, either using an ErrorIndicator, a ValidationSummary or a custom method.


See Also

TJvValidators.ErrorIndicator, TJvValidators.ValidationSummary


About

Notes

TJvValidators also has an OnValidateFailed event. You can use either or both depending on your needs. The OnValidateFailed event of TJvValidators is triggered even if the OnValidateFailed event of a validator is assigned.


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