Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : SELECTED attribute

SELECTED attribute

(Graphical interfaces only)
Indicates whether a widget is selected (highlighted).
Data type: LOGICAL
Access: Readable/Writeable
Applies to: BROWSE widget, BUTTON widget, COMBO-BOX widget, EDITOR widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget
This attribute can be set in two ways—when the widget's SELECTABLE attribute is TRUE and the user selects the widget, or by setting the SELECTED attribute to TRUE from the AVM whether or not its SELECTABLE attribute is TRUE. Although setting SELECTED to TRUE from the AVM highlights the widget, this does not activate a SELECTION event for the widget.