FMX.Dialogs.TOpenDialog.InitialDir

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InitialDir: string read GetInitialDir write SetInitialDir;

C++

__property System::UnicodeString InitialDir = {read=GetInitialDir, write=SetInitialDir};

Properties

Type Visibility Source Unit Parent
property published
FMX.Dialogs.pas
FMX.Dialogs.hpp
FMX.Dialogs TOpenDialog

Description

Determines which directory is selected by default when the dialog opens.

InitialDir determines the default directory displayed in the file-selection dialog when it opens. If no value is assigned to InitialDir, or the specified directory does not exist, the initial directory is controlled by a special registry key assigned to your application.

Note: For Windows, the registry key can be found at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU\.

See Also