[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TSelectDirectoryDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Select Directory Dialog

## Declaration

Source position: dialogs.pp line 222

`type TSelectDirectoryDialog = class(TOpenDialog)`
`class procedure WSRegisterClass; override;` |  | WSRegisterClass - Register this Class for the current Widget Set
`protected`
`function CheckFileMustExist(); override;` |  | CheckFileMustExist - returns True if a file with the supplied name actually exists
`function DefaultTitle; override;` |  | DefaultTitle - returns the default title for a dialog
`public`
`constructor Create(); override;` |  | Create - constructor for TOpenDialog: calls inherited Create then loads default options
`end;`

## Inheritance

`TSelectDirectoryDialog` |  | Select Directory Dialog
`TOpenDialog` |  | TOpenDialog : open a file in the current directory, selected by File Dialog.
`TFileDialog` |  | TFileDialog : allows selection of a file from the current directory.
`TCommonDialog` |  | TCommonDialog : the base type from which other dialogs are derived
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

## Description

Select Directory Dialog: allows the user to select a directory when the directory structure is displayed as a tree.

## See also

TDirSelDlg
TDirectoryEdit |  | TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog

The latest version of this document can be found at lazarus-ccr.sourceforge.net.