JVCL Help:TJvCustomDateEdit.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

 TExecDateDialog = procedure (Sender: TObject; var ADate: TDateTime; var Action: Boolean) ofobject;
propertyOnAcceptDate: TExecDateDialog;


Parameters

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


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