Attributes of the widgets
A widget attribute is a value that defines the visible, functional, and other characteristics of a Widget. Following is a list of a few key attributes and their description:
Attribute | Description |
---|---|
Sensitive | Indicates whether a widget can receive input focus or events. Indicates whether certain Progress objects can receive events. |
Visible | Indicates whether a widget is currently visible on the display. |
List-item-pairs | A list of the label-value pairs associated with a combo box or selection list. The list is delimiter-separated. The LIST-ITEM-PAIRS attribute applies only to combo boxes and selection lists whose entries consist of label-value pairs. For combo boxes and selection lists whose entries consist of single items, use the LIST-ITEMS attribute. |
List-items | A list of the items associated with a combo box or selection list. The list is delimiter-separated.The LIST-ITEMS attribute applies only to combo boxes and selection lists whose entries consist of single items. For combo boxes and selection lists whose entries consist of label-value pairs, use the LIST-ITEM-PAIRS attribute. |
Multiple | Indicates the selection behavior of browse selection list widgets, and the read and write behavior of the system clipboard. |
Read-only | Indicates whether an object is write-protected. If the READ-ONLY attribute of an editor or fill-in widget is TRUE, the widget cannot be enabled for input and its screen value cannot be changed from the user interface. |
fgcolor | The colour number for the foreground colour of the widget. |
bgcolor | Specifies the colour number for the background colour of the widget. |