Center

Applies to

Windows

Description

Causes the window to be centered on the screen when it is created or sized.

Usage

In a painter

To set the Center property for a window:

  • Select the Center check box on the General page of the window's Properties view.

In scripts

The Center property takes a boolean value. The following example sets the Center property for the window, w_mine:

w_mine.Center = TRUE