SelText - DFBaseTextEdit
Returns selected text
Type: Function
Return Data Type: string
Syntax
Function SelText Returns string
Call Example
Get SelText to stringVariable
Description
Returns the selected text of the control.
This method has no effect if control is not paged.
Sample
This sample gets the selected text of the oTextEdit1 control to variable sSelectedText and then displays it to the user in a message box.
Procedure ShowSelectedText
string sSelectedText
get SelText of oTextEdit1 to sSelectedText
send Info_Box sSelectedText "Selected Text"
End_Procedure // ShowSelectedText
Return Value
Selected text of the control.