TOlfSelectDirectoryDialog Class

Definition

Open a modal dialog box to choose a directory.

Delphi
type TOlfSelectDirectoryDialog = class(TComponent)
Inheritance
TComponent
TOlfSelectDirectoryDialog

Remarks

This non visual component use SelectDirectory from VCL.FileCtrl. The properties are used as it when calling the function. http://docwiki.embarcadero.com/Libraries/en/VCL.FileCtrl.SelectDirectory

Constructors

Properties

Caption

Text used as the dialog box title.

Directory

Initial directory in input. Selected directory in output if the user config the selection. If nothing is selected, the output directory is the same as input directory.

Options

Used to personalize the dialog box. See Delphi documentation if you want to know how to use it.

Root

Root directory to filter the selection (can be empty)

Methods