Show: Delphi C++
Display Preferences

Vcl.FileCtrl.TDriveComboBox.Drive

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Drive: Char read GetDrive write SetDrive;

C++

__property System::WideChar Drive = {read=GetDrive, write=SetDrive, nodefault};

Properties

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

Description

Indicates the currently selected drive displayed in the edit portion of the combo box.

Set Drive to initialize the combo box to a particular drive. Read Drive to obtain the drive that was selected by the user.

When the user uses the drive combo box to select a new drive, the selected drive becomes the value of the Drive property. The value of the Text property also changes to the new volume name when the Drive property value changes.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance