Vcl.FileCtrl.TDriveComboBox.Create

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

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

プロパティ

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

説明

Create は,TDriveComboBox のインスタンスを作成および初期化します。

Create コンストラクタを呼び出すと,実行時に TDriveComboBox オブジェクトを作成できます。設計時にフォームに配置されたドライブコンボボックスは自動的に作成されます。

コンボボックスにメモリを割り当ててから,Create メソッドはシステム上のすべてのドライブをコンボボックスに表示し,Drive プロパティを現在のドライブに初期化します。

関連項目