RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDriveComboBox.Create Constructor

Creates and initializes an instance of TDriveComboBox.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TDriveComboBox(TComponent * AOwner);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!