Maptitude GISDK Help |
A text item is optionally framed text displayed in the dialog box. The format of a text item is:
Text {"item name"} hpos, vpos {, width {, height}} {options}
A text item is not an active item; the user cannot interact with it in any way. If not specified, the width of the text item is the smallest that contains the text of the item when the dialog box is created. If the item's text will vary (see the Variable option below), the width should be specified to contain the widest text the item will display. If not specified, the height of the text item is one. If the height is more than one, the text item is a multi-line item and will automatically word-wrap as appropriate at spaces. If there are no spaces in the text item, it does not wrap.
Text Options |
Description |
Disabled |
The text is initially grayed out to appear disabled. |
Hidden |
The text is initially hidden. |
Framed |
The text is surrounded by a frame of the specified width and height. |
Prompt: expression |
An additional text string that appears to the left of the text. This option is provided to allow text items to be defined in a similar manner to Edit Text items. |
Variable: expression |
The text that is displayed. If this item is omitted, the name of the text item is used. If the value of the expression changes while the user interacts with the dialog box, the text item is updated accordingly. The expression may be a string or a number. |
Align: keyword |
The alignment of the text. The keyword can be left, center, or right. If this item is omitted, the text is aligned left. |
For example:
Text "Configuration Parameters" 1, 1
Text 1, 4, 20, 2 Framed Prompt: "Value" Variable: value_string
©2025 Caliper Corporation | www.caliper.com |