Set Default Text Color - GRID SENDMSG() Function 56
Syntax
NULL$=SENDMSG(sysgui,id,56,0,rgb${,context{,ERR=lineref}})
Description
This function sets the default text color for the grid.
|
Parameter |
Description |
|---|---|
|
sysgui |
SYSGUI channel. |
|
id |
Grid control ID. |
|
56 |
Number of this SENDMSG() function. |
|
0 |
Always zero. |
|
rgb$ |
An $RRGGBB$-formatted string that defines the RGB value of the text 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 and should be used before binding the grid to a data channel with Set Channel and Template—SENDMSG() Function 80.The text color for each column can be changed by using the TCOLOR attribute with SENDMSG() Function 80.
The return value is a null string.
Example
The following example displays a grid with green text:
|