Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / SelectText Method
Beginning row of text selection.
Beginning column of text selection.
Ending row of text selection. The valid range is 1 through the number of rows.
Ending column of text selection. The valid range is 1 through the number of columns.
A RegionOption value that specifies a wrapped or rectangular region.
In This Topic
    SelectText Method
    In This Topic
    Selects specified display memory text.
    Syntax
    expression.SelectText( _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal endRow As Integer, _
       ByVal endColumn As Integer, _
       ByVal region As RegionOption _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    startRow
    Beginning row of text selection.
    startColumn
    Beginning column of text selection.
    endRow
    Ending row of text selection. The valid range is 1 through the number of rows.
    endColumn
    Ending column of text selection. The valid range is 1 through the number of columns.
    region
    A RegionOption value that specifies a wrapped or rectangular region.

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    See Also