InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.ALC Library / AlcScreen Object / ExtendSelection Method
The row in which the selection ends.
The column in which the selection ends.
In This Topic
    ExtendSelection Method (AlcScreen)
    In This Topic
    Selects a rectangular block of text in the terminal window between the selection start position (or row 1, column 1, if there is no selection start position) and the specified coordinates.
    Syntax
    expression.ExtendSelection( _
       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 ExtendSelection method returns a block of text shaped like this:

    xxxxxxxxxxxxxx

    xxxxxxxxxxxxxxxxxxxx

    xxxxxxxxxxxxxxx

    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

    See Also