Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
// 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")

...