Constructors such as Edit Number() and Check Box() can be used in column dialogs, which construct launch windows with a column selector. The following example shows a typical column dialog with an Edit Number() box:
HList( "Alpha",
ex = Edit Number( .05 ) )
Column Dialog Constructors describes the column dialog constructors.
Draws an OK or a Cancel button. If OK is clicked, Button(1) is returned. If Cancel is clicked, Button(–1) is returned.
|
||
Creates a selection destination with a role button; the user’s choices are returned in a list item of the form var={choice 1, choice 2, …, choice n}.
You can specify the required data type of the column using Datatype(type). The choices for type are Numeric, Character, or Rowstate.
|
||
var( Edit Number( number ) )
|
Produces an edit field for a number with number as the default value. When OK is clicked, the number entered in the field is assigned to the variable.
|
|
Produces an edit field for a string with string as the default value. You can also specify the minimum width of the box in pixels. The default width is 72 pixels. When OK is clicked, the text entered in the field is assigned to the variable.
|
||
Top aligns and spaces the items in a horizontal row. Placing a pair of VLists within an HList produces a top aligned, spaced pair of columns.
|
||
"string"
|
||
Left aligns and spaces the items in a vertical column. Placing a pair of HLists within a VList produces a left-aligned, spaced pair of rows.
|