Versions Compared

Key

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

...

This property does not recognize the SelectBehavior property. So, even if the selection behavior is set to single selection, you can still select multiple items using this property.

...

Code Block
// Delete the currently selected items 
SelectedItems = Get_Property(@Window:".OLE_TREE", "OLE.SelectedItems") 
Send_Message(@Window:".OLE_TREE", "OLE.RemoveItems", SelectedItems) 

// Select three items 
SelectedItems = "Item1":@FM:"Item2":@FM:"Item3" 
Set_Property(@Window:".OLE_TREE", "OLE.SelectedItems", SelectedItems)

See Also

FocusItemTopItemSelectBehavior