InfoConnect for Unisys
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / GetFieldColor Method
Host field row position.
Host field column position.


In This Topic
    GetFieldColor Method (IUtsScreen)
    In This Topic
    Gets the foreground color of the host field that the specified row and column are part of.
    Syntax
    'Declaration
     
    
    Function GetFieldColor( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As ScreenColor
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim row As Integer
    Dim column As Integer
    Dim value As ScreenColor
     
    value = instance.GetFieldColor(row, column)
    ScreenColor GetFieldColor( 
       int row,
       int column
    )

    Parameters

    row
    Host field row position.
    column
    Host field column position.

    Return Value

    Foreground color of the host field.
    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
    This color can differ from the character foreground color at the specified screen location.
    See Also