QPx_SetAreaBackgroundColor

QPx_SetAreaBackgroundColor(areaRef; areaRef):error
areaRef Longint QPix area reference
backColor Longint Area background color
error Longint Error result

Set the background color of a QPix 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).

NOTE If QPx_SetAreaBackgroundColor is not called, the area will default to the background color set for it in 4D's form editor.

Related commands

QPx_GetAreaBackgroundColor Get the background color of a QPix area