Vcl.FileCtrl.TDirectoryListBox.Directory

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Directory: string read GetDirectory write SetDirectory;

C++

__property System::UnicodeString Directory = {read=GetDirectory, write=SetDirectory};

Properties

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

Description

Determines the current directory for the directory list box control.

The directory list box displays the value of the Directory property as the current directory in the list box. The example shows how a directory list box and a file list box can work together through their Directory properties.

If the form contains a file list box, you can set the FileList property to have the file list box automatically display the files from the directory specified by the Directory property.

See Also

Code Examples