Vcl.Samples.Calendar.TCalendar.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCalendar(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCalendar(HWND ParentWindow) : Vcl::Grids::TCustomGrid(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Samples.Calendar.pas Vcl.Samples.Calendar.hpp |
Vcl.Samples.Calendar | TCalendar |
Description
Creates an instance of TCalendar.
Call Create to create an instance of TCalendar at runtime. To create a TCalendar at design time, place a TCalendar object from the Samples section of the Tool Palette onto a form. This object will have the form as its parent and will be freed automatically when the form is destroyed.
AOwner is a TObject that is responsible for freeing the calendar and for initiating the streaming process when it is saved to a form file.