Set Default Background Color - GRID SENDMSG() Function 55
Syntax
NULL$=SENDMSG(sysgui,id,55,0,rgb${,context{,ERR=lineref}})
Description
This function sets the default background color for the grid.
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Grid control ID. |
55 |
Number of this SENDMSG() function. |
0 |
Always zero. |
rgb$ |
An $RRGGBB$-formatted string that defines the RGB value of the background color. |
The default color can be overridden in individual cells in a standard grid with Draw Cell - Grid SENDMSG() Function 54.
This function produces unpredictable behavior in a grid that has been made data-aware, so it should be used before binding the grid to a data channel with Set Channel and Template - SENDMSG() Function 80.The background color for each column can be changed by using the BCOLOR attribute with SENDMSG() Function 80.
The return value is a null string.