Setting Control Properties
- In the Properties window (in the Position category), you can change the X Pos and Y Pos values. These specify the pixel position of the dialog box's upper-left corner, relative to its parent window. For a modal or a popup modeless dialog box, the parent window is the screen. For example, specifying the X position as 40 and Y position as 40 would place a modal dialog box in the upper-left corner of the screen.
- You can also center the dialog box by setting the Center option to True in the Position category. This displays the dialog box in the center of its parent window. If you set the Center Mouse option to True in the Misc category, the dialog is centered at the current mouse pointer position.