Vcl.FileCtrl.TSelectDirExtOpts

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TSelectDirExtOpts = set of TSelectDirExtOpt;

C++

typedef System::Set<TSelectDirExtOpt, TSelectDirExtOpt::sdNewFolder, TSelectDirExtOpt::sdValidateDir> TSelectDirExtOpts;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl Vcl.FileCtrl

Description

TSelectDirExtOpts is a set type of options to customize the Select Directory dialog that SelectDirectory prompts.

TSelectDirExtOpts is a set type, with elements of type TSelectDirExtOpt.

The Options parameter of the SelectDirectory function is a set of type TSelectDirExtOpts. This parameter specifies the type of Select Directory dialog box to create.

The possible values for an element in a set of type TSelectDirExtOpts are given in the following table:

Option Meaning

sdNewFolder

Displays the Make New Folder button, when the sdNewUI option is enabled.

sdShowEdit

Displays an edit box containing the currently selected folder/file. This also allows you to type the name of the folder/file to select.

sdShowShares

Displays shareable resources on remote systems inside the Select Directory dialog. This automatically enables the sdNewUI option.

sdNewUI

Use this option to display a new type of dialog, that is sizeable and includes a Make a New Folder button. The dialog also allows you to drag, drop, and use the context menu on either folders or files.

sdShowFiles

Displays files in the Select Directory dialog.

sdValidateDir

Validates the name of the folder/file inserted into the edit box, when the sdShowEdit option is enabled. The validation triggers an event of type TBrowseForFolderCallbackEvent.

See Also