InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.ALC Library / AlcScreen Object / ExtendSelectionRect Method
The row in which the selection ends.
The column in which the selection ends.
In This Topic
    ExtendSelectionRect Method (AlcScreen)
    In This Topic
    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
    expression.ExtendSelectionRect( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) 
    where expression is a variable that represents a AlcScreen Object

    Parameters

    row
    The row in which the selection ends.
    column
    The column in which the selection ends.
    Exceptions
    ExceptionDescription
    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