SELECTION-TEXT attribute
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The currently selected text in the widget.
Data type: CHARACTER
Access: Read-only
Applies to: BROWSE widget (column), COMBO-BOX widget, EDITOR widget, FILL-IN widget
You can read this attribute to access the text the user has selected. To
change or remove the currently selected text, use the
REPLACE-SELECTION-TEXT( ) method.
If the editor is not already realized and you reference its
SELECTION-TEXT attribute, the AVM realizes the widget.
Note: You cannot use this attribute to access the text of a
FILL-IN widget
whose PASSWORD-FIELD attribute is set to TRUE.