Previous Next

REPLACE-SELECTION-TEXT( ) method
Replaces the currently selected text in an editor widget with the new text.
Return type:
Applies to:
 
Syntax 
REPLACE-SELECTION-TEXT ( new-text )
new-text
A character-string expression that specifies the new text to replace the currently selected text.
To determine what text is currently selected, query the SELECTION-TEXT attribute. If the replace operation is successful, the method returns TRUE.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.