Vcl.ComCtrls.TMonthCalendar.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TMonthCalendar(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TMonthCalendar(HWND ParentWindow) : TCommonCalendar(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TMonthCalendar |
Description
Creates and initializes an instance of TMonthCalendar.
Create performs the following tasks:
Sets CalExceptionClass to EMonthCalError.
Sets Width to 176.
Sets Height to 153.
The AOwner parameter assigns an Owner, which is responsible for freeing the calendar's memory.