wText Property (StatusBar Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

Each part of a status bar control displays a text. Use the wText property to get the text dispalyed on the given part of the status bar.

Declaration

TestObj.wText(Index)

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The property has the following parameter:

Index

Specifies the index of the status bar’s part whose text you want to get. The index is zero-based. The total number of parts in the status bar control is specified by the wPartCount property.

Property Value

A string containing the text displayed on the given part the status bar.

Example

To view an example that demonstrates how to use the wText property, see Getting Status Bar Panes' Text in Desktop Windows Applications.

See Also

wText Property (Specific to StripStatusBar Controls)
wPartCount Property (StatusBar Controls)
Getting Status Bar Panes' Text in Desktop Windows Applications

Highlight search results