[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
A function that allows to user to select a directory.
Source position: line 0
function SelectDirectory( |
const Caption: String; |
const InitialDirectory: String; |
out Directory: String |
):Boolean; |
const Caption: String; |
const InitialDirectory: String; |
out Directory: String; |
ShowHidden: Boolean; |
HelpCtx: LongInt = 0 |
):Boolean; |
out Directory: String; |
Options: TSelectDirOpts; |
HelpCtx: LongInt |
):Boolean; |
Caption |
|
A constant which sets the caption of the shown dialog. |
InitialDirectory |
|
The directory the dialog should start in. |
Directory |
|
A variable which on exit contains the selected directory. |
A boolean indicating if the user selected a directory and pressed OK.
Caption |
|
A constant which sets the caption of the shown dialog. |
InitialDirectory |
|
The directory the dialog should start in. |
Directory |
|
A variable which on exit contains the selected directory. |
ShowHidden |
|
A boolean constant indicating whether hidden folders should be shown too. |
A boolean indicating if the user selected a directory and pressed OK.
Directory |
|
A variable which on exit contains the selected directory. |
A boolean indicating if the user selected a directory and pressed OK.
This function will show a dialog which allows the user to select the required directory when the directory structure is displayed as a tree.
Under Windows the caption from the resulting dialog cannot be set, but the label above the directory tree will have this value.
There are two version of this function, the second one having the ability to indicate whether hidden folders should be shown as well.
lazarus-ccr.sourceforge.net |