Hi, I have a multicolumn WinTree with the following properties,
ultraTree1.ViewStyle = ViewStyel.GridultraTree1.Override.SelectionType = SelectType.Extended;ultraTree1.FullRowSelect = false;
with these settings when a node is clicked it is getting activated and also Selected. However my requirement is to select the node only when either Ctrl or Shift key is pressed. Please suggest how to attain this functionality.
Thanks for any help,spm
I would imagine one solution to this problem would be to cancel the BeforeSelect event if the Ctrl or Shift key is not pressed.
Hi Brian,
Thanks for you reply. I tried your suggetion by storing the modifier status in KeyDown and KeyUp event and in BeforeSelect event e.Cancel was set to true if Ctrl or Shift key was not pressed. But unfortunatley the functionality did not work as expected, and at times selection were automatically deselected (.. it should be possible to select multiple nodes). Is there any other way of implementing this? Or have I done any thing wrong in my implementation. Please advice
Thanks,
spm