Versions Compared

Key

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

...

The ItemHeight property sets the item's height in pixels. By default, items are 16 pixels high. Use this property to customize the height. This property is particularly useful if you've enabled the WordWrap property.

 

Use the DefHeight property to set the default height for new items.

...

Code Block
// Double the height of the item whose key is "Item1" 
Set_Property(@Window:".OLE_TREE", "OLE.ItemHeight[Item1]", 32) 

// Make all items 16 pixels high 
Set_Property(@Window:".OLE_TREE", "OLE.ItemHeight[All]", 16)

See Also

ItemDefHeight