Programming with Reflection
SetColorMap method
Syntax object.SetColorMap Attribute, Foreground, Background
Assigns a color to a terminal character attribute.
Attribute Argument type: Enumeration
The host terminal attribute to which the color is mapped. The values are:
rcHostBlue
rcHostRed
rcHostPink
rcHostGreen
rcHostTurquoise
rcHostYellow
rcHostWhite
rcStatusLine
rcFieldOutline
For 5250 sessions, there are three additional values:
rcSysRequest
rcMessageLine
rcErrorLine
For 3270 sessions, there are additional values based on the possible combinations of these three host attributes:
· protected vs. unprotected
· alphanumeric vs. numeric
· normal vs. intense
These values are:
rcProtNormAlpha
rcProtNormNum
rcProtHighAlpha
rcProtHighNum
rcUnprotNormAlpha
rcUnprotNormNum
rcUnprotHighAlpha
rcUnprotHighNum
For 3270 sessions using 3179-G terminal emulation, the following values are available to set host graphics attributes
rcHostGraphicsBackgnd
rcHostGraphicsBlack
rcHostGraphicsBlue
rcHostGraphicsBrown
rcHostGraphicsDkblue
rcHostGraphicsDkgreen
rcHostGraphicsDkturquoise
rcHostGraphicsGreen
rcHostGraphicsGrey
rcHostGraphicsMustard
rcHostGraphicsNeutral
rcHostGraphicsOrange
rcHostGraphicsPink
rcHostGraphicsPurple
rcHostGraphicsRed
rcHostGraphicsTurquoise
rcHostGraphicsWhite
rcHostGraphicsYellow
rcHostGraphicsBackgnd
rcHostGraphicsBlack
Foreground Argument type: Enumeration
The text (foreground) color being assigned. Colors are based on 24-bit RGB format. The possible values are:
rcWhite
rcGrey
rcRed
rcBlue
rcGreen
rcYellow
rcCyan
rcMagenta
rcBlack
rcDkGrey
rcDkRed
rcDkBlue
rcDkGreen
rcDkYellow
rcDkCyan
rcDkMagenta
Background Argument type: Enumeration
The background color being assigned. Colors are based on 24-bit RGB format. The possible values are the same as for Foreground. This argument is ignored unless the BackgndColor property is set to rcColormapBackgnd.