Back to product page

SelectedText property


Returns line(s) of text from terminal screen that are currently selected.

Type

String

Syntax

  • Basic
object.SelectedText ([Index])
The SelectedText(object,Index) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX
IndexVariant.

Remarks

This property is only available in OCX (GUI) version of the component.

This method returns currently selected text. If Index argument is not specified, then full selection is returned, split by VbCrlf (CR+LF) sequence. If Index is selected, then only n-th row is returned.

No matter which row is selected (for example, selection spans from row 3 to row 10), Index = 0 will return 1st selected row (row 3 in this case...). Setting this property to anything will clear out current selection, and argument passed to this property will be ignored.

Platforms

Windows