QG_GetCaptionColors(areaRef; foreColor; backColor):error
areaRef Longint QGrid area reference
foreColor Longint Foreground color
backColor Longint Backgroung color
error Longint Error result

Get the caption colors

Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.

Parameters foreColor and backColor receive the foreground (text) and background color respectively. Colors are expressed in 4D's RGB color notation (0x00RRGGBB - see OBJECT SET RGB COLORS in 4D's documentation). Parameter backColor can also have the reserved value qg_NoFillColor.

Related commands

QG_SetCaptionColors Set the caption colors
QG_GetCaptionFont Get the caption font
QG_GetCaptionAlignment Get the caption text alignment