Windows
Causes the window to be centered on the screen when it is created or sized.
To set the Center property for a window:
Select the Center check box on the General page of the window’s Properties view.
The Center property takes a boolean value. The following example sets the Center property for the window, w_mine:
w_mine.Center = TRUE