JVCL Help:TJvDatePickerEdit.EnableValidation

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

Search in JVCL Help

 
Search in all projects
 

Summary

Enables "As-you-type" validation of entries


Pascal

 propertyEnableValidation: Boolean;


Description

If True, ranges on day and month figures will be enforced while typing, i.e. given a date format of "dd-MM-yyyy" an entry of "00-00-0000" would automatically be corrected to "01-01-0000" (enforcing of year ranges is not implemented yet because of the added complexity of handling two-digit years) and an entry of "99-99-9999" would automatically be corrected to "31-12-9999". The algorithm does not validate wh ther a given day is valid for the given month though, i.e. it does not yet catch an entry of "30-02-2005".


See Also

TJvCustomDatePickerEdit.DateFormat


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