Versions Compared

Key

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

...

The DefExpanded property establishes the default expanded state of 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 ItemExpanded property for details.

This property is useful for setting whether or not your tree is fully expanded or fully collapsed when initialized.

For more information on how default properties can make you more efficient, see the Default Properties article.

Example

Code Block
// Make all new items expanded by default 
Set_Property(@Window:".OLE_TREE", "OLE.DefExpanded", 1)

See Also

ItemExpandedDefExpandable