Maximize Action

Applies to TestComplete 12.60, last modified on September 17, 2018

Description

This action brings the window to full-screen (maximizes 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 maximized, its left and top coordinates are negative.

Declaration

TestObj.Maximize()

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 Maximize action, see Pasting Text via the Context Menu.

See Also

Restore Action
Minimize Action
Position Action

Highlight search results