Progress
Language Reference
SET-SELECTION( ) Method
Selects the text in a widget between two specified character offsets.
Return Type: LOGICAL Applies To: Browse-column, Combo-box, Editor, Fill-in
start-pos
An integer expression that specifies the offset of the first character to be selected.
end-pos
An integer expression that specifies the offset of the first character after the selection.
This method selects the text that begins at the offset start-pos and ends at the offset
end-pos - 1. If the operation is successful, the method returns TRUE. Otherwise, it returns FALSE.On Windows, both the regular editor and the large editor support SET-SELECTION.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |