TCnOpenFileDialog.RestoreDirectory Property
Gets or sets a value indicating whether the dialog box restores the directory to the previously selected directory before closing.
published property RestoreDirectory: Boolean read GetRestoreDirectory write SetRestoreDirectory default False;
Property Value
Type: Boolean
true if the dialog box restores the current directory to the previously selected directory if the user changed the directory while searching for files; otherwise, false. The default value is false.