Vcl.FileCtrl.TDriveComboBox.Create

From RAD Studio API Documentation
Jump to: navigation, search

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) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl TDriveComboBox

Description

Creates and initializes an instance of TDriveComboBox.

Call Create to create a TDriveComboBox object at runtime. Drive combo boxes placed on a form at design time are created automatically.

After allocating the memory for the combo box, Create fills the combo box with all the drives on the system, and initializes the Drive property to the current drive.

See Also