Back to product page

SelectRect method


Selects rectangle of text.

Syntax

  • Basic
object.SelectRect (X1, Y1, X2, Y2)
The SelectRect(object,X1,Y1,X2,Y2) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX
X1A Long value that points to horizontal value of upper-left corner of the rectangle to be selected.
Y1A Long value that points to vertical value of upper-left corner of the rectangle to be selected.
X2A Long value that points to horizontal value of lower-right corner of the rectangle to be selected.
Y2A Long value that points to vertical value of lower-right corner of the rectangle to be selected.

Remarks

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

SelectRect method is used to select rectangle of text inside the wodTelnetDLX GUI. Result of this command is same as if user would select the text using the mouse. No events are fired as a result of this command.

If X1,Y1 are the same as X2,Y2 then selection is removed.

Platforms

Windows