[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Contains the initial directory displayed when the dialog is opened.
Source position: dialogs.pp line 177
published property TFileDialog.InitialDir : string |
InitialDir is a String property which contains the name for the initial directory displayed when the dialog is opened. When omitted, or set to an empty string, the directory for the application executable is used.
Assign the value in InitialDir prior to calling the Execute method to display the dialog.
For the windows platform, there are some CLSID values which can be used in InitialDir. They are GUIDs representing locations like 'This PC' or 'Network' used the Windows file explorer. The following values are know to work in InitialDir:
There are others which may, or may not, work for your Windows version:
List of Windows 11 CLSID Key (GUID) Shortcuts
|
Displays the dialog and captures the result. |
Version 3.2 | Generated 2024-02-25 | Home |