Minimize Action

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

This action collapses the window to the taskbar (minimizes it) if it is a top-level window or an MDI-child window. It has no effect on popup windows and controls, except that an error message is inserted into the test log.

Note that once a window is minimized, its left and top coordinates are negative. But this does not apply to forms in the Borland VCL.

Declaration

TestObj.Minimize()

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 objects:

View Mode

To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Result Value

None.

Example

To view an example that demonstrates how to use the Minimize action, see Simulating User Actions on Application Windows.

See Also

Maximize Action
Position Action
Restore Action

Highlight search results