R
Randall Hale
I'm trying to dynamically create values for a context menu (popup),
depending upon which node is highlighted in a Treeview control. This is not
a problem, if you select the node with the left mouse button and THEN
right-click (the context menu then displays an item IAW a Tag value
previously assigned to each node). If you only use the right mouse button,
however, it appears that the given node is selected but this is not the
case; it is only highlighted, and all you get is the old value for the
previously selected node, which had to have been selected via the left mouse
button first.
A one-click process seems more natural and intuitive to me; and it should be
possible to select a given node with either mouse button. Any suggestions
as to how to achieve this. Lots of hair pulling so far but no luck.
Regards,
Randall Hale
depending upon which node is highlighted in a Treeview control. This is not
a problem, if you select the node with the left mouse button and THEN
right-click (the context menu then displays an item IAW a Tag value
previously assigned to each node). If you only use the right mouse button,
however, it appears that the given node is selected but this is not the
case; it is only highlighted, and all you get is the old value for the
previously selected node, which had to have been selected via the left mouse
button first.
A one-click process seems more natural and intuitive to me; and it should be
possible to select a given node with either mouse button. Any suggestions
as to how to achieve this. Lots of hair pulling so far but no luck.
Regards,
Randall Hale