FocusedTab Property (Specific to MSAA TabList Objects)

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

Description

The FocusedTab property returns the index of the page that is currently selected in the given tab control. To get the caption of the selected tabbed page, use the TabCaption property.

Declaration

TestObj.FocusedTab

Read-Only Property Integer
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

A zero-based index of the focused tabbed page.

Remarks

You can also check whether a particular tabbed page is selected using the Selected property of the corresponding PageTab object.

See Also

TabCount Property (Specific to MSAA TabList Objects)
TabCaption Property (Specific to MSAA TabList Objects)
DoDefaultAction Method (MSAA Objects)

Highlight search results