MANUAL-HIGHLIGHT attribute
- Last Updated: March 15, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Indicates whether a widget exhibits custom or standard highlight behavior when selected.
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
Set the MANUAL-HIGHLIGHT attribute to TRUE to use a
customized highlight design for selection of the widget. A FALSE value for this attribute
specifies the ABL default highlight behavior for the selection of the widget.
If you set MANUAL-HIGHLIGHT to TRUE, you must manage the selection
behavior of the widget. You do this by adding a trigger on the SELECTION
event. When the trigger fires, you can do something to indicate that the widget is selected.
For example, you could change its background color. For deselection, you add a trigger on
the DESELECTION event and undo whatever you did in the
SELECTION trigger. Note that the widget's SELECTABLE
attribute must also be set to TRUE for it to be selectable. For more information, see Direct manipulation events.
|