The table's background color.

Usage

Set_Property(OLECtrlEntID, "OLE.BackColor", Color)

Values

Color can be any Color value.

Default: "Window" System Color

Remarks

The BackColor property can be used to change the color of the table. Think of Report Table rows as being transparent, and the background color shows through. By changing the background color of the control, you essentially change the background color of all rows.

IMPORTANT: As of version 4.1.4, this property only works if you set the Theme property to "Custom".

Example

// Set the theme to custom
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.Theme", "Custom")


// Set the background color to red
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.BackColor", "{255, 0, 0}") 

// Set the background color to a standard window background 
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.BackColor", "Window")
  • No labels