wDropDownMenu Property (Specific to StripStatusBar Controls)

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

Unlike the standard status bar control, the StripStatusBar can contain drop-down buttons and split buttons that display a drop-down menu. Use this property to obtain the drop-down menu for the specified status bar part.

Declaration

TestObj.wDropDownMenu(Item)

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

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.

Parameters

The property has the following parameter:

Item

Specifies the index (from 0) or caption of the desired status bar part.

Property Value

A Menu object that corresponds to the item’s drop-down menu.If the given status bar part does not have a menu or the part does not exist, this property returns an empty value (Nothing in VBScript, None in Python, null in JavaScript, JScript, C++Script and C#Script and nil in DelphiScript).

Remarks

If you use Python or DelphiScript, you should enclose the parameter of the wDropDownMenu property in square brackets: wDropDownMenu[Item].

After you obtain the menu, you can select items from this menu using the returned object. See the Menu object description for more information about available menu actions.

See Also

wPartCount Property (StatusBar Controls)
wText Property (Specific to StripStatusBar Controls)

Highlight search results