vb6 Treeview - how to make a node readonly
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi guys, I am unable to reset the checked status of a Node in a treeview in vb6. I need to make some nodes readonly i.e. stop the user from changing the Node.Checked status. Anyone knows how to do it please help. E.g. this code does not work Private Sub TreeView1_NodeCheck(ByVal Node As MSComctlLib.Node) Node.Checked = False ''DOES NOT WORK ;( ''Node.Checked = Not Node.Checked ''DOES NOT WORK ;( End Sub :rose::rose: 1fm1fu