Versions Compared

Key

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

...

For persistent sorting, use the ItemSort or DefSort properties instead.

Example

Code Block
// Assume a tree with boys and girls organized into teams 

// Sort the Blue Team in descending order 
Send_Message(@Window:".OLE_TREE", "OLE.Sort", "BlueTeam", "Descending", 0) 

// Sort the entire tree in ascending order 
Send_Message(@Window:".OLE_TREE", "OLE.Sort", "", "Ascending", 1)

See Also

ItemSortDefSort