CustomRootFolder Property

Applies to TestComplete 14.60, last modified on April 22, 2021

Specifies the path to the root folder displayed in the dialog.

Declaration

componentObj.CustomRootFolder
Read-Write Property Integer
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 CustomRootFolder property to specify the path to the folder used as the root of the folders tree displayed in the dialog. Note that this property only takes effect if the RootFolderType property is set to “rftCustom”. If RootFolderType has another value, the dialog uses the root folder specified by the RootFolderType property.

Property Value

A string holding the path to the custom root folder. The presence of the trailing slash is not necessary, that is, the “C:\Program Files\MyAppDir” and “C:\Program Files\MyAppDir\” strings are equivalent.

See Also

RootFolderType Property

Highlight search results