Programming with Reflection
ForegroundColor property
Syntax |
object.ForegroundColor(TerminalAttribute) |
Data type |
Returns the foreground color set for the specified 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:
rcSysRequest
rcMessageLine
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 foreground color is black.
rcBlue The foreground color is blue.
rcCyan The foreground color is cyan.
rcDkBlue The foreground color is dark blue.
rcDkCyan The foreground color is dark cyan.
rcDkGreen The foreground color is dark green.
rcDkGrey The foreground color is dark gray.
rcDkMagenta The foreground color is dark magenta.
rcDkRed The foreground color is dark red.
rcDkYellow The foreground color is dark yellow.
rcGreen The foreground color is green.
rcGrey The foreground color is gray.
rcMagenta The foreground color is magenta.
rcRed The foreground color is red.
rcWhite The foreground color is white.
rcYellow The foreground color is yellow.