QPix Command Reference
![]() |
![]() ![]() |
QPx_SetAreaBackgroundColor(areaRef; backColor):error | |||
![]() |
areaRef | Longint | QPix area reference |
![]() |
backColor | Longint | Area background color |
![]() |
error | Longint | Error result |
Changes the background color of the plug-in area.
Parameter areaRef is the QPix area reference. If areaRef is not a valid QPix area reference, qpx_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 QPx_SetAreaBackgroundColor is not called for a QPix area, the plug-in will default to the background color set for the plug-in area in 4D's form editor.
Related commands
QPx_GetAreaBackgroundColor | Configures various options of a QPix plug-in area |