FocusedTab Property (Specific to MSAA TabList Objects)

Applies to TestComplete 15.65, last modified on July 17, 2024


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.



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.


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