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
175
Contextmenu in UltraTree based on which node is active
posted

I have a couple of buttons in a ContextMenu (of an ultratoolbarmanager).

What i want to do is, when the user right-clicks in empty space of the tree, a couple of the buttons in the context-menu should be disabled.

The problem is, there is _always_ an active node. I tried using the MouseDown event, and check if there is a node for the X-Y coordinates. If there isn't a node, set the ActiveNode = null. However, this doesn't work!

 

Parents
No Data
Reply Children
No Data