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

Parameters

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

 

 


2015 Attachmate

Send Feedback