%ty - Text Array Background

Purpose

To set the background colour in a text array.

Syntax

winio@('%ty[colour]')
winio@('%ty', rgb_value)
integer rgb_value     (input)

Description

colour must be one of black, white, grey, red, green, blue and yellow.

rgb_value is typically obtained by a call to RGB@. Using the value (-1L) resets the colour of subsequent text to its default value.

Notes

%ty codes are paired with %tc (Text Colour) codes with %ty providing the background and %tc the foreground to a %tx (Text Array).

Example

winio@('%60.8tx&',text,attr,80L,10L)
winio@('%tc[blue]%ty[red]%tc[yellow]%ty[green]')

See also

Text array - %N.Mtx[options]

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited