InitialDir Property

Applies to TestComplete 15.64, last modified on June 12, 2024

Determines the directory to be displayed when the dialog opens.


Read-Write Property String
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TOpenDialog, TSaveDialog


The InitialDir property specifies the path to the directory that is displayed when the dialog opens. If the directory does not exist or a value is not specified, then the dialog displays either the current working directory or the My Documents directory, depending on the Windows version.

Property Value

A string value that contains the initial directory path.

Highlight search results