Versions Compared

Key

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

...

The ItemFont property gets and sets the font used to render the item's data. See the Font documentation for more details on its multivalued structure.

 

Use the DefFont property to set the default font for new items.

...

Code Block
// Bold the font of the item whose key is "Item1" 
Set_Property(@Window:".OLE_TREE", "OLE.ItemFont[Item1]", @SVM:@SVM:700) 

// Change all items font to Arial 
Set_Property(@Window:".OLE_TREE", "OLE.ItemFont[All]", "Arial")

See Also

ItemDefFont