Progress
Language Reference


REPLACE-SELECTION-TEXT( ) Method

Replaces the currently selected text in an editor widget with the new text.

Return Type: LOGICAL

Applies To: Editor

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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095