ContextMenu

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

Hi all,
I load some data into a treeview control, then set the ContextMenu property
of a treeview control.
So all of operations about shortcut menu are right. But i want not to show
it after all data is unloaded.
I set the ContextMenu to null, but it's useless and the shortcut menu still
shows.
Are there any ideas?

Thanks

Alan
 
Are you setting TreeView.ContextMenu to null? It should work (it works for me anyway). Do you have some sample code for this?

Regards, Jakob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top