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.
 
Back
Top