Maptitude GISDK Help |
There are two ways to indicate the position of a dialog box:
The optional hpos, vpos, width, and height values, described below
The Location option, described under dialog box Options
The optional hpos, vpos, width, and height values identify the position and location of the dialog box. All positions and sizes used in a dialog box resource are in character units based on the standard dialog box font.
Value |
Meaning |
hpos |
The horizontal position of the left edge of the dialog box, relative to the left edge of the screen. If omitted, the dialog box is centered left to right. This value can also be specified as one of the keywords left, right, or center, aligning the dialog box on the left edge, right edge, or horizontal center of the screen. |
vpos |
The vertical position of the top edge of the dialog box, relative to the top of the screen. If omitted, the dialog box is centered top to bottom. This value can also be specified as one of the keywords top, bottom, or center, aligning the dialog box at the top, bottom, or vertical center of the screen. |
width |
The width of the dialog box. If omitted, the dialog box has the smallest width that encloses all dialog box items. |
height |
The height of the dialog box. If omitted, the dialog box has the smallest height that encloses all dialog box items. |
Dialog boxes normally look best when width and height are left blank, since they size automatically to enclose all dialog box items. You may omit any of the position and size values, but you must precede any specified values by the appropriate number of commas:
Dbox "my dbox" ,, 50 // Specifies the width of the dialog box
©2025 Caliper Corporation | www.caliper.com |