Dialog Attribute Default Values
Although common attributes have the same type and allowed values for all widgets (or for level-0 widgets or dialogs), they may have different default values for different widgets (or for level-0 widgets or dialogs).
For example, the WIDTH attribute for Type (numeric) and Allowed Values (any integer number) are the same for both METER and BARS. However, the METER widget's WIDTH attribute has a default value of 220 pixels, while the BARS widget's WIDTH attribute has a default value of 250 pixels.
Dialogs Common Attributes Table
|
Attribute
|
Type
|
Allowed Values
|
Default
|
|
|
Numeric
|
Any valid BASIC pen number (0-255)
|
System dependent [1]
|
|
|
Numeric
|
Any valid index into the DIALOG BUTTONS array
|
0
|
|
|
String Array
|
Any valid string array
|
Varies
|
|
|
Numeric
|
Any integer number (of pixels)
|
Varies
|
|
|
Numeric
|
Any integer number (of pixels)
|
Varies
|
|
|
Numeric
|
Any integer number (of pixels)
|
Varies
|
|
|
String
|
"LEFT","CENTER"
|
"CENTER"
|
|
|
Numeric
|
0,1
|
1(maximizable, button appears in title bar)
|
|
|
Numeric
|
0,1
|
0(not minimizable, button does not appear in title bar)
|
|
|
Numeric
|
0,1
|
1(movable, click on title bar and drag)
|
|
|
Numeric
|
0,1
|
1(resizable, special border appears around the dialog)
|
|
|
Numeric
|
0,1
|
0(do not restore the screen)
|
|
|
String or String array
|
Any string or string array with 1-64 elements
|
Null
|
|
|
Numeric
|
0 to number of items in
system menu
|
0
|
|
|
Numeric
|
0 to number of items in
system menu - 1
|
0
|
|
|
String
|
Any valid string
|
Dialog name
|
|
|
String
|
Any valid string
|
Null string
|
|
|
String
|
Any valid string
|
Current version
|
|
|
Numeric
|
Any integer number(of pixels)
|
Varies
|
|
|
Numeric
|
Any integer, number of pixels from 0,0 [2]
|
Autoplacement
|
|
|
Numeric
|
Any integer, number of pixels from 0,0 [2]
|
Autoplacement
|
[1] Read the CONFIG file or query for the default with a STATUS command
[2] Screen or parent work area upper-left corner
List of Dialogs
|
Dialog
|
Function
|
|
|
Allows entry by text input or from list
|
|
|
Displays error message, user responds with mouse button
|
|
|
Allows user to select a file from a directory
|
|
|
Displays information, user responds with mouse button
|
|
|
Similar to NUMBER, but uses a calculator keypad for entry
|
|
|
Allows user to select from a list of items
|
|
|
Allows input of numeric data
|
|
|
Displays question, user responds with mouse button
|
|
|
Prompts user for text string
|
|
WARNING
|
Displays warning, user responds with mouse button
|
|