Directory Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies the path to the selected folder.

Declaration

componentObj.Directory
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:

TSelectDirectory

Description

Use the Directory property to obtain or set the path to the folder selected in the dialog.

Property Value

A string holding the path to the selected folder.

Remarks

If the user closes the dialog with the Cancel button, the Directory property restores the value it had before the dialog was displayed.

Highlight search results