wodTelnetDLX ActiveX Control - SelectRect Method
      
 

Description

Selects rectangle of text.


Return Type

None  


Syntax

object.SelectRect (X1, Y1, X2, Y2)



The SelectRect Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetDLX.
X1 Required. A Long value that points to horizontal value of upper-left corner of the rectangle to be selected.
Y1 Required. A Long value that points to vertical value of upper-left corner of the rectangle to be selected.
X2 A Long value that points to horizontal value of lower-right corner of the rectangle to be selected.
Y2 A 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.