SELECTION-TEXT attribute

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.