Programming with Reflection

image\rwnprg32.gif UseAnsiColor property

 

Syntax

object.UseAnsiColor
object.UseAnsiColor = Value

Works with

image\r24.gif

Data type

Boolean

 

Description

Returns (first syntax line) or specifies (second syntax line) whether the host can transmit ANSI color sequences to Reflection, thereby changing the foreground and background colors for characters displayed in the terminal window. This property applies to the display of ANSI color sequences in Reflection; it does not apply to printing with Reflection.

Use the Select Graphic Rendition (SGR) control function to select a foreground or background color:

CSI <n>;...<n>m

where <n> is one of the following:

Value of <n>

Foreground Color

30

black

31

red

32

green

33

yellow

34

blue

35

magenta

36

cyan

37

white

Value of <n>

Background Color

40

black

41

red

42

green

43

yellow

44

blue

45

magenta

46

cyan

47

white

This property does not affect color for the Reflection Setup dialog boxes, which retain their configured Reflection colors.

Values

The default value is False. This value is automatically set to True when the value of the TerminalType property is set to rcANSIUNIX or rcANSIBBS.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property