Expand Action (GridGroup Objects)

Applies to TestComplete 15.62, last modified on March 14, 2024

Description

Depending on the Expand parameter, the Expand action either expands or collapses the current group. The effect is the same as if you click the group’s title. However, the Expand action does not move the cursor.

Declaration

TestObj.Expand(Expand)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Expand [in]    Optional    Boolean Default value: True   
Result None

Applies To

The method is applied to the following object:

View Mode

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

Parameters

The method has the following parameter:

Expand

Specifies whether to expand or to collapse the group.

Result Value

None.

Remarks

To collapse an item you can either call the Collapse action.

See Also

Collapse Action (GridGroup Objects)
Expanded Property (GridGroup Objects)
GridGroup Object

Highlight search results