Directory Property

Applies to TestComplete 15.69, last modified on November 13, 2024

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