InfoConnect for Airlines VBA Guide
GetForegroundColor Function (ThemeColor)
The host color or attribute whose mapped color should be returned.
Returns the current mapped foreground color for a given terminal attribute.
Syntax
object.GetForegroundColor( _
   ByVal attr As IbmTerminalAttributeOption _
) As Color

Parameters

attr
The host color or attribute whose mapped color should be returned.

Return Value

The current foreground color mapping for the specified attribute.
Exceptions
ExceptionDescription
NewInvalidOperationExceptionThrows an exception when the ThemeColor object is null.
See Also