Collapse Action (GridGroup Objects)

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

The Collapse action collapses the current group. The effect is the same as if you click the group’s title. However, the Collapse action does not move the cursor.

Declaration

TestObj.Collapse()

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
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.

Result Value

None.

Remarks

To collapse a group, you can either call the Collapse action or call the Expand action with the Expand parameter set to False.

See Also

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

Highlight search results