RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDriveComboBox Class

TDriveComboBox implements a specialized combo box that displays all the drives available when the application runs.

Pascal
[SecurityPermission(SecurityAction.Demand, Unrestricted=True)]
TDriveComboBox = class(TCustomComboBox);
C++
[SecurityPermission(SecurityAction.Demand, Unrestricted=True)]
class TDriveComboBox : public TCustomComboBox;

Add TDriveComboBox to a form to allow users to select a drive. Use TDriveComboBox along with TFileListBox, TFilterComboBox, and TDirectoryListBox to add full file selection capabilities to a form.  

To add a standard Windows 95 file open or save dialog to an application, use TOpenDialog or TSaveDialog instead. 

 

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