Versions Compared

Key

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

...

PosNameTypeDescriptionDefault
<1>Text ColorColorThe color of the item's textWindowText
<2>BackgroundColor FillThe item's backgroundWindow

...

The ItemColors property allows you to customize the text color and background of an item. This property has two fields. The first field sets the text color and the second one sets the item's background. The text can be any valid Color value while the background utilizes the powerful Color Fill technology.

 


This property establishes colors of the item in it's normal state. However, these colors may be overridden by the colors specified in the Colors property when the item becomes hot or selected.


TIP: Use the DefColors property to set the default colors for new items.

...

Code Block
// Make the text white and the background red for the item whose key is "Item1" 
Set_Property(@Window:".OLE_TREE", "OLE.ItemColors[Item1]", "White":@FM:"Red")

See Also

ItemDefColorsColors