R Richard Lewis Haggard Apr 4, 2007 #1 Is it possible to disable in place edit of some TreeView nodes while allowing it in others? If so, how?
Is it possible to disable in place edit of some TreeView nodes while allowing it in others? If so, how?
H Herfried K. Wagner [MVP] Apr 4, 2007 #2 Richard Lewis Haggard said: Is it possible to disable in place edit of some TreeView nodes while allowing it in others? If so, how? Click to expand... Handle the control's 'BeforeLabelEdit' event, check 'e.Node' and set 'e.CancelEdit' to 'True' to prevent the user from editing the node.
Richard Lewis Haggard said: Is it possible to disable in place edit of some TreeView nodes while allowing it in others? If so, how? Click to expand... Handle the control's 'BeforeLabelEdit' event, check 'e.Node' and set 'e.CancelEdit' to 'True' to prevent the user from editing the node.
E Eric Moreau Apr 5, 2007 #3 I have written an article on this topic: http://www.emoreau.com/Entries/Articles/2006/04/The-Treeview-control.aspx -- HTH Éric Moreau, MCSD, Visual Developer - Visual Basic MVP Conseiller Principal / Senior Consultant Moer inc. (http://www.emoreau.com/)
I have written an article on this topic: http://www.emoreau.com/Entries/Articles/2006/04/The-Treeview-control.aspx -- HTH Éric Moreau, MCSD, Visual Developer - Visual Basic MVP Conseiller Principal / Senior Consultant Moer inc. (http://www.emoreau.com/)