JVCL Help:TJvDateEdit.OnAcceptDate

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs after the user has selected a date in the calendar.


Pascal

 propertyOnAcceptDate: TExecDateDialog;


Parameters

Parameters Description
Sender The object that represents the date button control.
ADate The date the user selected.
Action Determines whether the date specified by ADate is accepted.


Description

Write an OnAcceptDate event handler to conditionally prevent the user from selecting specific dates from the calendar. Set Action to false (Action is initially true) to make the control act as if the user canceled the date selection from the calendar. Alter ADate to make the control act as if the user selected that new value.


See Also

TJvCustomDateEdit.OnInvalidDate


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