Versions Compared

Key

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

...

The sorting relies upon the child items' ItemType property settings.

Use the DefSort property to set the default sorting of new items.

...

Code Block
// Sort Item1 in descending order 
Set_Property(@Window:".OLE_TREE", "OLE.ItemSort[Item1]", "Descending") 

// Sort all items in ascending order 
Set_Property(@Window:".OLE_TREE", "OLE.ItemSort[All]", "Ascending")

See Also

ItemDefSortItemTypeSort