Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Text Color | Color | The default color of new items' text | WindowText |
<2> | Background | Color Fill | The default background of new items | Window |
...
The DefColors property establishes the default colors for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemColors property for details.
For more information on how default properties can make you more efficient, see the Default Properties article.
Example
Code Block |
---|
// Make the text white and the background red for new items Set_Property(@Window:".OLE_TREE", "OLE.DefColors", "White":@FM:"Red") |