HTBasic Help
×
Menu
Index

List Dialog

 
 
     
 
Example Program
 
See LIST Dialog for an example program that produces a display similiar to that shown above.
 
NOTE
 
See the following program for another example using the LIST dialog:
 
         Dialogs Tests
 

Attributes

 
 

List Dialog Attributes

 
Attribute
Type
Allowed Values
Default
 
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
Numeric
Any positive integer
20
 
 
 
 
 
Numeric
Any valid index into the DIALOG BUTTONS array
0
 
String array
Any valid string array
A two-element array that contains OK and Cancel
 
String
Font [1]
 
 
Numeric
Any integer number (of pixels)
Autosizing
 
Numeric
0 to 32767
0        
 
String array
Any
A zero-element array
 
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
0(movable, click on title bar and drag)
 
Numeric
0,1
0 (one ITEM only)
 
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
Numeric
0,1
1(resizable, special border appears around the dialog)
 
Numeric
0,1
0(do not restore the
screen)
 
Numeric
Any positive integer
3        
 
Numeric or
Numeric
array
Single Numeric: value is any valid index into the ITEMS array, or -1
 
Numeric array: the array contains a 1 in each element that represents a user- selected ITEM, else 0
-1
 
Numeric
0,1
1(sensitive)
 
String
Any valid string
LIST
 
Numeric
Any valid index into ITEMS array
0 or 1
 
String
Any valid string
None
 
String
Any valid string
Current version
 
Numeric
Any integer number (of pixels)
Autosizing
 
Numeric
Any integer, number of pixels from 0,0 [3]
Autoplacement
 
Numeric
Any integer, number of pixels from
0,0 [3]
Autoplacement
 [1]  For an explanation of Font and the default value, see Specifying FONT Attribute Values
 [2]  Read the CONFIG file or query for the default with a STATUS command
 [3]  Screen or parent work area upper-left corner