I am currently working in VS 2010 with VB. I have an UltraTree control (NetAdvantage 12.2 Win CLR4x) that I have been able to drag and drop nodes at any given level and at any point. In other words, I can drag between nodes or on nodes.
I have already been able to highlight the node that the mouse is dragging over. WHAT I NEED: I also need the ability to draw a line between the nodes as I am dragging and about to drop. This will give my users the visual of WHERE the dragged node will be INSERTED within the tree.
Can anyone help me?
bmw
Hi bmw,
A possible approach to achieve this might be by using a 'DrawFilter'.
You could read about it at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2013.1/CLR4.0/html/Win_Draw_Filter.html.
The above approach is not so recommended, because it features element drawing, creating or removing and could lead to some unexpected behaviors. Please do not hesitate to ask if something comes up.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.