Programming with Reflection

image\rwnprg32.gif ForegroundColor property

 

Syntax

object.ForegroundColor(TerminalAttribute)

Data type

Enumeration

 

Description

Returns the foreground color set for the specified terminal attribute.

Arguments

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

Values

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.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command