Builds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...).
<Result> = gBackground(<Color>)
<Result>: Character string
Sequence of characters defining the background color of the text, circle, rectangle, ...
This sequence of characters is not interpreted by the controls in WEBDEV. This function can be used to format the string returned by a WEBDEV Webservice consumed by a WINDEV or WINDEV Mobile application.
<Color>: Integer or constant
Display color for the background of the text or for the inside section of a shape (rectangle or circle). This color can correspond to:
- an RGB color (returned by RGB),
- an HSL color (returned by HSL),
- a WLanguage preset color.
- the Transparent constant (used to overlay a text and a graphic for example).