QGrid
![]() |
![]() ![]() |
QG_SetAreaBackgroundColor(areaRef; backColor):errorCode | |||
![]() |
areaRef | Longint | QGrid area reference |
![]() |
backColor | Longint | Area background color |
![]() |
error | Longint | Error result |
Changes the background color of the plug-in area.
Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.
Parameter backColor specifies the background color. It must be expressed in 4D's RGB color notation (0x00RRGGBB - see SET RGB COLORS in 4D's documentation).
If QG_SetAreaBackgroundColor is not called for a QGrid area, the plug-in will default to the background color set for the plug-in area in 4D's form editor.
Related commands
QG_GetAreaBackgroundColor | Returns the background color of the plug-in area |