JVCL Help:TJvMonthCalendar2
JVCL Help: TJvMonthCalendar2 Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvCustomMonthCalendar
TJvMonthCalendar2
run\JvCalendar.pas
Summary
A wrapper component for the MS MonthCal control available in ComCtl32.dll versions 4.70 and above.
Pascal
run\JvCalendar.pas
TJvMonthCalendar2 = class(TJvCustomMonthCalendar);
Description
- JVCLInfo
TJvMonthCalendar2 is a wrapper component for the Microsoft Month Calendar control that is available in ComCtl32.dll, version 4.70 and above. The control is the same as Delphi's TMonthCalendar control, but has an easier interface.
The control displays a maximum of 12 months at a time, but you can't set the number of visible months as this is automatically calculated from the controls size. If the window is larger than the displayed months, they are centered in the window.
Sizing the window programmatically for best fit is problematic: the control needs one size for displaying one month but a different (and smaller value) for each subsequent one. This value varies depending on the currently used font.
MinSize returns a TRect that contains the minimum size for a month calendar.
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