Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / GetCharacter Method
The character row position.
The character column position.
Example
In This Topic
    GetCharacter Method (IbmScreen)
    In This Topic
    Gets the ScreenCharacter at the specified location.
    Syntax
    expression.GetCharacter( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As ScreenCharacter object 
    where expression is a variable that represents a IbmScreen Object

    Parameters

    row
    The character row position.
    column
    The character column position.

    Return Value

    A screen character.This is a ScreenCharacter Object that contains the character at the specified screen location.
    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).
    Example
    This example tabs to the next field if the current location is protected.
    Sub TabToNextField()
     
        If ThisIbmTerminal.screen.GetCharacter(ThisIbmTerminal.screen.CursorRow, ThisIbmTerminal.screen.CursorColumn).IsProtectedField = True Then
     
            Debug.Print "Protected"
     
            ThisIbmTerminal.screen.SendControlKey ControlKeyCode_Tab
     
        End If
     
    End Sub
    See Also