InfoConnect for Airlines
SetForegroundColor Method (IThemeColor)


The host text 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
'Declaration
 
Sub SetForegroundColor( _
   ByVal attr As TextColorMappingAttribute, _
   ByVal newColor As Color _
) 
'Usage
 
Dim instance As IThemeColor
Dim attr As TextColorMappingAttribute
Dim newColor As Color
 
instance.SetForegroundColor(attr, newColor)
void SetForegroundColor( 
   TextColorMappingAttribute attr,
   Color newColor
)

Parameters

attr
The host text attribute whose mapped color should be set
newColor
The new foreground color mapping for the specified attribute
See Also