RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonCalendar Class

TCommonCalendar is the base class for the controls TDateTimePicker and TMonthCalendar.

Pascal
TCommonCalendar = class(TWinControl);
C++
class TCommonCalendar : public TWinControl;

ComCtrls

Use TCommonCalendar as a base class when creating custom controls that represent dates in a calendar-like format. Do not create instances of TCommonCalendar. Instead, to put a calendar control on a form, use a TCommonCalendar descendant such as TDateTimePicker or TMonthCalendar.

Note: The VCL includes another calendar control that does not descend from TCommonCalendar. This is TCalendar, which is offered as a sample.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!