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) { }
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TMonthCalendar |
Description
Create crée et initialise une instance de TMonthCalendar.
Create exécute les tâches suivantes :
Initialise CalExceptionClass à EMonthCalError.
Initialise Width à 176.
Initialise Height à 153.
Le paramètre AOwner affecte un propriétaire, qui est responsable de la libération de la mémoire du calendrier.