InfoConnect for Airlines VBA Guide
SetForegroundColor Method (ThemeColor)
The host color or attribute whose mapped color should be set.
The new foreground color mapping for the specified attribute.
Sets the current mapped foreground color for a given terminal attribute.
Syntax
object.SetForegroundColor( _
   ByVal attr As TerminalAttributeOption, _
   ByVal newColor As Color _
) 

Parameters

attr
The host color or attribute whose mapped color should be set.
newColor
The new foreground color mapping for the specified attribute.
Exceptions
ExceptionDescription
NewInvalidOperationExceptionThrows an exception when The ThemeColor object is false.
Example
Attachmate.Reflection.Object.Emulation.Common.ThemeColor color
            
color.SetForegroundColor(IbmTerminalAttributeOption.GraphicsBlack,Color.blue)
See Also