HTBasic Help
×
Menu
Index

Setting Widget Attributes

 
Introduction
 
Widget attributes are set with ASSIGN or CONTROL statements. You can set the values for each attribute through a combination of keyword syntax use and attribute value specification. Attribute values are returned with the STATUS statement. You can check the value of any attribute at any time by using STATUS to return the attribute value to a variable or variable array.
 
Setting Widget Attributes
 
After you have created a widget with an ASSIGN command, as desired you can setan attribute value or change the value of any of its previously-set attributes with aCONTROL command by using the CONTROL command SET syntax. CONTROL designates the widget to be changed, while SET designates the attribute and value setting for that attribute. The CONTROL command syntax is:
 
  CONTROL @widget handle;SET (set attribute list)
 
Most widget attributes allow you to SET values in the widget and to RETURN values from the widget. However, some widgets allow only setting values with SET, while othersallow only RETURNing values of present settings. See the appropriate widget descriptionfor SET and RETURN capabilities of each attribute in the widget.