I display a context menu (using MouseUp) when the user right clicks a node.
But before the menu displays, the node expands or collapses.I ONLY want the menu to display. How to I stop the automatic Toggle expansion?
(At first I thought I was doing something in my app but I created a simple app with no code except the creation/loading of the Tree and that does the same thing.)
Hello,
I tried to reproduce the issue using Volume 13.2 and everything is working correctly. I put a new menu and the menu pops up when you press the right click and no nodes are expanded. Can you please confirm that you have bound the menu to the right mouse click event? What version of our products do you use?
Please take a look at my sample and modify it so that it reproduces your issue.
I'll take a look at your sample.
In answer to your questions I am using NetAdvantage 13.1 and am using the MouseUp event to display the menu.
Note that in my demo I simply place a Tree on the form and load some data. I do not display a menu, or handle any events.When I right click a node it Expands or Contracts.