Vcl.ComCtrls.TCommonCalendar.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TCommonCalendar(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCommonCalendar(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { }

プロパティ

種類 可視性 ソース ユニット
constructor public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCommonCalendar

説明

Create は,TCommonCalendar のインスタンスを作成します。

Create を呼び出すと,TCommonCalendar クラスのインスタンスを作成および初期化できます。AOwner パラメータは,カレンダーコントロールを解放する権限を持つ Owner プロパティに値を割り当てます。

Create は,次のタスクを実行します。

継承コンストラクタを呼び出す

ShowTodayShowTodayCircle を true に設定する

ControlStyle を[csOpaque, csClickEvents, csDoubleClicks]に設定する

DateTime を Now に設定する

FirstDayOfWeek を dowLocaleDefault に設定する

MaxSelectRange を 31 に設定する

MonthDelta を 1 に設定する

関連項目