Programming with Reflection
BackgroundColor property
Syntax |
object.BackgroundColor(TerminalAttribute) |
Data type |
Returns the background color for a particular terminal attribute.
TerminalAttribute Argument type: Enumeration
Identifies a host attribute. The values are:
rcHostBlue
rcHostRed
rcHostPink
rcHostGreen
rcHostTurquoise
rcHostYellow
rcHostWhite
rcStatusLine
For 5250 sessions, there are three additional values:
rcMessageLine
rcSysRequest
rcErrorLine
For 3270 sessions, there are eight 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
This property is read-only.
The possible values are:
rcBlack The background color is black.
rcBlue The background color is blue.
rcCyan The background color is cyan.
rcDkBlue The background color is dark blue.
rcDkCyan The background color is dark cyan.
rcDkGreen The background color is dark green.
rcDkGrey The background color is dark gray.
rcDkMagenta The background color is dark magenta.
rcDkRed The background color is dark red.
rcDkYellow The background color is dark yellow.
rcGreen The background color is green.
rcGrey The background color is gray.
rcMagenta The background color is magenta.
rcRed The background color is red.
rcWhite The background color is white.
rcYellow The background color is yellow.