HTBasic Help
×
Menu
Index

Pushbutton Widget - Attributes

 
Attribute
Type
Allowed Values
Default
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
BORDER [3]
Numeric
0,1
1        
 
Numeric
Any positive integer
10        
 
 
 
 
 
Numeric
0,1
0(not closeable, button does not appear in title bar)
 
String
Font [1]
 
 
Numeric
Any integer number (of pixels)
Autosizing
 
String
Any valid file name
Null
 
String
Any valid index or topic_id
Null
 
Numeric
Any integer number (of pixels)
Varies
 
Numeric
Any integer number (of pixels)
Varies
 
String
Any valid string
Initial title
 
String array
Any valid string array
One-element array containing initial title
 
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
0        
 
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
Numeric
0,1
1(resizable, special border appears around the widget)
 
Numeric
0,1
0(do not restore the screen)
 
Numeric
0,1
1        
 
Numeric
0 to number of siblings [4]
0        
 
Numeric
0 to 255
0        
 
Numeric
1 to 256
1        
 
String or String array
Any valid string or string array
Null
 
COUNT [5]
Numeric
to number of items in system menu
0        
 
EVENT [5]
Numeric
to number of items in system menu -1
0
 
Numeric
0,1
1        
 
TITLE [5]
String
Any valid string
PUSHBUTTON
 
String
Any valid string
None
 
String
Any valid string
Current version
 
Numeric
0,1
1        
 
Numeric
Any integer number (of pixels)
Autosizing
 
Numeric
Any integer, number of pixels from 0,0 [6]
Autoplacement
 
Numeric
Any integer, number of pixels from 0,0 [6]
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]   Child widget only
 [4]  A sibling is another child widget with the same parent widget, or at the same level in the widget hierarchy, as the widget for which you are setting the value of the STACKING ORDER
 [5]  For level-0 widgets only
 [6]  Screen or parent work area upper-left corner