Vcl.FileCtrl.TFileListBox.Drive
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 | TFileListBox |
Description
Specifies the drive which contains the files listed in the list box.
Set the value of Drive to the drive that contains the files that the list box should display. When the value of Drive changes, the Directory value also changes to the current directory on the specified drive.
If the form includes a TDirectoryListBox object, set the FileList property of the directory list box to have the Drive property updated automatically when the Drive property of the directory list box changes.
See Also
Code Examples