How would i go about making right click select a node as well as left click then bring up a context menu with the selected node?
this is what i got now but i don't like how it acts.
this is what i got now but i don't like how it acts.
VB.NET:
private sub treeview1_AfterSelect(ByVal sender as System.Object, ByVal e as system.windows.forms.treevieweventargs) handles treeview1.AfterSelect
ctextmenu.clear
if treeview1.selectednode.text = treeview1.topnode.text then exit sub
ctextmenu.add(treeview1.selectednode.text)
end sub
Last edited: