Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
810
AfterSelect occurs before SelectionDragStart
posted

I have a GUI where I have a tree view in the left pane and a gridview in the right pane. When I select a treenode, I change the gridvoew to match the tree node and this was working fine.

Now I am trying to add drag and drop support and find that I get the AfterSelect event before SelectionDragStart event and so deselect the old view, select a new view and now I can't drag to where I was hoping to drag to.

What I would like to do is if the user used the mouse to start dragging a tree node is to not have that node selected but just dragged.

Is this possible or normal?

Thanks, Dave

Parents
  • 69832
    Suggested Answer
    Offline posted

    You should probably take a look at the UltraTree.Override.SelectionType property; I think in your case you want to set it to Extended/Single, i.e., not the values with 'AutoDrag' in their name.

Reply Children