EControl Syntax Editor SDK
TecBaseExportAction.InitialDir Property

Determines the current directory when the dialog opens.

property InitialDir: string;

InitialDir determines the default directory displayed in the file-selection dialog when it opens. For example, to point the dialog at the WINDOWS\SYSTEM directory, set the value of InitialDir to C:\WINDOWS\SYSTEM. 


If no value is assigned to InitialDir, or if the specified directory does not exist, the initial directory is controlled by the global ForceCurrentDirectory variable. If ForceCurrentDirectory is true, the dialog opens with the current working directory displayed. Otherwise, the dialog opens with either the current working directory or the My Documents directory, depending on the version of Windows.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!