Vcl.ComCtrls.TDateTimePicker.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDateTimePicker(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TDateTimePicker(HWND ParentWindow) : TCommonCalendar(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TDateTimePicker |
Description
Creates and initializes a TDateTimePicker instance.
Create calls the inherited constructor method and initializes the Date and Time properties to the current date and time. It also sets the following ControlStyle flags: csCaptureMouse, csOpaque, csClickEvents, csDoubleClicks, and csFixedHeight.