Attachmate Reflection 2014 .NET API Reference
GetFieldColor Method


Host field row position.
Host field column position.
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 IIbmScreen
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
System.ArgumentOutOfRangeException 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.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IIbmScreen Interface
IIbmScreen Members

Send Feedback