Page History
...
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") |