Page History
The theme used to render the report table.
Usage
Code Block |
---|
Set_Property(OleCtrlEntId, "OLE.Theme", OptionValue) |
Values
OptionValue can be set to one of the following valid options:
Value | Description |
---|---|
Flat | A minimalist flat theme with no dividers between column headers. |
Explorer | A theme based on the look of Windows Explorer. |
Office2003 | A theme based on the look of Office 2003. |
Office2007Blue | The blue theme utilized in Office 2007 |
Office2007Black | The black theme utilized in Office 2007 |
Office2007Silver | The silver theme utilized in Office 2007 |
Office2007Aqua | The theme utilized in the beta releases of Office 2007 |
Office2010Blue | The blue theme utilized in Office 2010 |
Office2010Black | The black theme utilized in Office 2010 |
Office2010Silver | The silver theme utilized in Office 2010 |
Shaded | The default theme with subtly shaded column headers. |
Windows7 | A theme based on the look of Windows 7 |
Default: Shaded
Remarks
The Theme property sets the look of the control, mostly affecting the way the column headers are rendered though it can affect the colors used for the grid lines and group rows as well. Simply set one of the aforementioned options and you're done. You can pass any abbreviation so long as it can be reasonably recognized as unique. If the property does recognize the given option, it defaults to "Shaded". For example, "07" will be recognized as "Office2007Blue", but "Office" or "Black" will not because they are too ambiguous in and of themselves.
Example
Code Block |
---|
// Set the theme to Flat Set_Property(@Window:".OLE_REPORTTABLE", "OLE.Theme", "Flat") // Set the theme to Office 2010 Silver using an abbreviation that is recognizable Set_Property(@Window:".OLE_REPORTTABLE", "OLE.Theme", "10Sil") |