Versions Compared

Key

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

...

The RootSort property establishes how the Root Item's children are sorted. The Root Item is the implicit parent item of the entire tree, so this property sorts all root level items.

See Sorting for more details on how the SRP Tree Control sorts tree items.

This property establishes a persistent sort setting. If you want to perform a one-time-only sort, use the the Sort method instead.

Example

Code Block
// Sort all root level items in ascending order 
Set_Property(@Window:".OLE_TREE", "OLE.RootSort", "A")

See Also

ItemSortRootChildrenRootIndent