JVCL Help:TJvCustomMonthCalendar.OnGetDayState

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

Search in JVCL Help

 
Search in all projects
 

Summary

Responds when the control needs to get the day states.


Pascal

 TJvMonthCalStateEvent = procedure (Sender: TObject; Date: TDateTime; Count: Integer; var DayStateArray: arrayof TMonthDayState) ofobject;
propertyOnGetDayState: TJvMonthCalStateEvent;


Parameters

Parameters Description
Count The number of days requested.
DayStateArray An array to retrieve the day states in.
Sender Reference to the object generating the event. Usually this will be a TJvCustomMonthCalendar descendant.
Date The starting date for the request. This will always be the first day of a month


Description

Write an OnGetDayState event handler to set day states that are not set by the Bold, BoldDays and/or Days properties.


See Also

TJvCustomMonthCalendar.Bold, TJvCustomMonthCalendar.BoldDays, TJvCustomMonthCalendar.Days


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