This question is locked. New answers and comments are not allowed.
We're trying to implement excel style selecting in our tree view when either the Ctrl or Shirt buttons are pressed.
We've got an implementation for Ctrl working perfectly but we are having trouble getting the selection working with the Shift buttons.
FYI - normally our tree view operates as a single row select view, but when the Ctrl\Shift button is pressed we changed the SelectionMode & SelectionUnit to Mulitple & Cells respectively.
I was expecting to be able to use the SetSelectionAnchor method but this seems to do nothing!
Can some give an example of how to do this programmatically? - I'm trying this from a behavior.
Cheers
Ollie Riches
We've got an implementation for Ctrl working perfectly but we are having trouble getting the selection working with the Shift buttons.
FYI - normally our tree view operates as a single row select view, but when the Ctrl\Shift button is pressed we changed the SelectionMode & SelectionUnit to Mulitple & Cells respectively.
I was expecting to be able to use the SetSelectionAnchor method but this seems to do nothing!
Can some give an example of how to do this programmatically? - I'm trying this from a behavior.
Cheers
Ollie Riches