how to create a context menu on a selected node in tree view
Hi,
Can anyone give me an example how to create a right click on selected node in tree view..example
parentNode = mdiform
childnode1 = child form1
childnode2 = chile form2
which ever i select a different node a corresponding form will appear with a mouseup event.
i must choose first a node to view my contextmenu.
Thank you very much.
Re: how to create a context menu on a selected node in tree view
Something like:
(mousedown event of the treeview)
Code:
select case selectednode.text
case "child form 1"
yourtreeview.contextmenu = yourcontextmenu
case else
yourtreeview.contextmenu = yourothercontextmenu
end select
Understand what I mean?
Re: how to create a context menu on a selected node in tree view
Yes
Thanks for the reply.