Mar 31, 2004 #1 cjac Programmer Dec 8, 2003 93 GB Anyone know if it's possible to lock nodes on a treeview to prevent the user from changing the node text? Cheers, cjac
Anyone know if it's possible to lock nodes on a treeview to prevent the user from changing the node text? Cheers, cjac
Mar 31, 2004 #2 Glasgow IS-IT--Management Jul 30, 2001 1,669 GB Set the Treeview's LabelEdit property to 1. As long as you don't invoke the StartLabelEdit method, that should do it. Upvote 0 Downvote
Set the Treeview's LabelEdit property to 1. As long as you don't invoke the StartLabelEdit method, that should do it.
Apr 6, 2004 #3 MrPtt Programmer Sep 19, 2003 27 ES Hi Try this: Code: Private Sub TreeView_BeforeLabelEdit(Cancel As Integer) Cancel = True End Sub Upvote 0 Downvote