right click a tree node

  • Thread starter Thread starter Smokey Grindel
  • Start date Start date
S

Smokey Grindel

Is there any way to be able to right click a tree node and make sure that
the selected node is the one you right clicked? Right now I can select a
node then right click a different node and the previous node is the selected
one... any work arounds for this? thanks!
 
Smokey Grindel said:
Is there any way to be able to right click a tree node and make sure that
the selected node is the one you right clicked? Right now I can select a
node then right click a different node and the previous node is the
selected one... any work arounds for this? thanks!

On the mouse down event check if it is right mouse button. If so then do a
hittest to find the node that the mouse is over and make it selected. I had
same problem and this fixed it.

Hope this helps
Lloyd Sheen
 
Herfried,

Völlig klar, aber wahrscheinlich besser mit einigen Englisch für diejenigen,
die nicht Deutsch verstehen,

:-)

Cor
 
Back
Top