RAD Studio VCL Reference
TCommonCalendar.Create Constructor

Creates an instance of TCommonCalendar.

constructor Create(AOwner: TComponent); override;
virtual __fastcall TCommonCalendar(TComponent * AOwner);

Call Create to construct and initialize an instance of TCommonCalendar. The AOwner parameter assigns a value to the Owner property, which is responsible for freeing the calendar control. 

Create performs the following tasks: 

Calls the inherited constructor. 

Sets ShowToday and ShowTodayCircle to true. 

Sets ControlStyle to [csOpaque, csClickEvents, csDoubleClicks]. 

Sets DateTime to Now

Sets FirstDayOfWeek to dowLocaleDefault. 

Sets MaxSelectRange to 31. 

Sets MonthDelta to 1. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!