FocusedTab Property (Tab Controls)

Applies to TestComplete 15.69, last modified on November 13, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

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.

See Also

TabCount Property (Tab Controls)
TabCaption Property (Tab Controls)

Highlight search results