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

SELECTABLE attribute

(Graphical interfaces only)
Indicates whether a widget is selectable for direct manipulation at run time.
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
If the SELECTABLE attribute is TRUE, users can select and deselect the widget (that is, activate SELECTION and DESELECTION events for the widget). You must also set the SELECTABLE attribute to TRUE for the RESIZABLE attribute to take effect, allowing the user to resize the widget.
Note: Setting the SELECTABLE attribute to TRUE enables direct manipulation events for the widget. These events take precedence over all other events. This effectively prevents data entry using the widget until all direct manipulation events are disabled (that is, MOVABLE, RESIZABLE, and SELECTABLE are all set to FALSE). Also, vertical scrollbars are disabled until no direct manipulation can occur (that is, MOVABLE, RESIZABLE, and SELECTABLE are all set to FALSE).