InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IThemeColor Interface / SetBackgroundColor Method
The host color or attribute whose mapped color is set.
The new background color mapping for the specified attribute.


In This Topic
    SetBackgroundColor Method (IThemeColor)
    In This Topic
    Sets the current mapped background color for a given terminal attribute.
    Syntax
    'Declaration
     
    
    Sub SetBackgroundColor( _
       ByVal attr As IbmTerminalAttributeOption, _
       ByVal newColor As Color _
    ) 
    'Usage
     
    
    Dim instance As IThemeColor
    Dim attr As IbmTerminalAttributeOption
    Dim newColor As Color
     
    instance.SetBackgroundColor(attr, newColor)
    void SetBackgroundColor( 
       IbmTerminalAttributeOption attr,
       Color newColor
    )

    Parameters

    attr
    The host color or attribute whose mapped color is set.
    newColor
    The new background color mapping for the specified attribute.
    See Also