up Inquisit Language Reference

txbgcolor attribute

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

Member of

<clock> <defaults> <text>

Syntax

/ txbgcolor = (red value, green value, blue value)

or

/ txbgcolor = (transparent)

or

/ txbgcolor = color name

or

/ txbgcolor = color value

Parameters

red value An integer from 0 to 255 specifying the intensity of the red component.
green value An integer from 0 to 255 specifying the intensity of the green component.
blue value An integer from 0 to 255 specifying the intensity of the blue component.
color name The name of a built in color.
color value A 32-bit argb value specified as in integer or a CSS hex value (e.g., #0000FF or #00F for blue).

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:
Copyright Millisecond Software, LLC. All rights reserved.