Versions Compared

Key

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

...

Code Block
// Get the current scroll position 
TopItem = Get_Property(@Window:".OLE_TREE", "OLE.TopItem") 

// Scroll back to the top 
RootItems = Get_Property(@Window:".OLE_TREE", "OLE.RootChildren") 
Set_Property(@Window:".OLE_TREE", "OLE.TopItem", RootItems<1>)

See Also

FocusItemSelectedItemsOnVScroll