InfoConnect for Unisys VBA Guide
ExtendSelectionRect Method (UtsScreen)
The row in which the selection ends.
The column in which the selection ends.
Selects all text in the terminal window in all rows between the starting row and the specified row (or row 1, column 1, if there is no selection start position).
Syntax
object.ExtendSelectionRect( _
   ByVal row As Long, _
   ByVal column As Long _
) 

Parameters

row
The row in which the selection ends.
column
The column in which the selection ends.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Remarks

Use the SetSelectionStartPos method to set the starting coordinates.

The ExtendSelectionRect method returns a rectangular block of text between the starting and ending row, resulting in a block of text shaped like this:

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

The ExtendSelection method returns a block of text shaped like this:

xxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx

See Also

 

 


2015 Attachmate

Send Feedback