Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Foreground Color | Color | The color of the header cell's text | Auto |
<2> | Background ColorColor | ColorFill | The color of the header | None |
<3> | Selected Foreground Color | Color | The color of the header cell's text when it's row and/or column is selected | None |
<4> | Selected Background ColorColor | ColorFill | The color of the header when it's row and/or column is selected | None |
<5> | Flat Style | Boolean | Whether or not the header is flat instead of 3D | 0 |
...
The Flat Style field is applied only to custom background colors. The 3D effect is always applied when system colors are used.
Example
Code Block |
---|
// Make the second column header's text red Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderColors[2; 1]", "{255, 0, 0}") // Make the first column header's background blue Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderColors[1; 1]", @FM:"{0, 0, 255}") // Make all headers look MORE selected and flat Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderColors[All; All]", @FM:@FM:"ST":@FM:"S":@FM:1) |