txbgcolor attribute

The txbgcolor attribute determines the color of the immediate background behind the text displayed on the screen.

Applies to

<text> <defaults>

Syntax

/ txbgcolor = (red, green, blue)

or

/ txbgcolor = (transparent)

Parameters

red An integer from 0 to 255 specifying the intensity of the red component.
green An integer from 0 to 255 specifying the intensity of the green component.
blue An integer from 0 to 255 specifying the intensity of the blue component.

Remarks

The immediate background is the rectangular region of the screen spanned by text when presented. If the value is set to transparent, the immediate text background color is transparent.

Examples

The following presents white text on a blue background:

<text sometext>
/ items = ("inquisit rocks")
/ txcolor = (0, 0, 255)
/ txbgcolor = (255, 255, 255)
</text>

The following presents purple text on a black background:

<text sometext>
/ items = ("inquisit rocks")
/ txcolor = (255, 0, 255)
/ txbgcolor = (0, 0, 0)
</text>


Send comments on this topic.
1999-2006 Millisecond Software, LLC. All rights reserved.