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

Parameters

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

Return Value

The current 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
            
Dim backgroundColor As Color = color.GetBackgroundColor(IbmTerminalAttributeOption.GraphicsBlack)
See Also

 

 


2015 Attachmate

Send Feedback