Default Property (Specific to MSAA Button Object)

Applies to TestComplete 15.0, last modified on October 19, 2021

Description

Use the Default property to determine whether the current button is the default one in a window. If it is, the button is clicked upon pressing the ENTER key if no other controls have focus.

Declaration

TestObj.Default

Read-Only Property Boolean
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

True if the button is the default one; otherwise, False.

See Also

Pressed Property (Specific to MSAA Button Object)
Caption Property (MSAA Objects)

Highlight search results