Versions Compared

Key

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

...

PosNameTypeDescriptionDefault
<1>Foreground ColorColorThe color of the header cell's textAuto
<2>Background ColorColorColorFillThe color of the headerNone
<3>Selected Foreground ColorColorThe color of the header cell's text when it's row and/or column is selectedNone
<4>Selected Background ColorColorColorFillThe color of the header when it's row and/or column is selectedNone
<5>Flat StyleBooleanWhether or not the header is flat instead of 3D0

...

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)

...