Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / DisplayText2 Method
The string to display.
A DisplayTextOption value
In This Topic
    DisplayText2 Method
    In This Topic
    Displays a string in the terminal window as though it had been received from the host.
    Syntax
    expression.DisplayText2( _
       ByVal text As String, _
       ByVal option As DisplayTextOption _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    text
    The string to display.
    option
    A DisplayTextOption value

    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