Hello,
Does any body know how to prevent the user from changing the Check State of a TreeView Node????
I am despirate!!!!!!!!!
Regards,
Jerry Gadd
Ratings are my only reason for living, so GIVE ME HIGH ONES, or have my death on your consience.
Printable View
Hello,
Does any body know how to prevent the user from changing the Check State of a TreeView Node????
I am despirate!!!!!!!!!
Regards,
Jerry Gadd
Ratings are my only reason for living, so GIVE ME HIGH ONES, or have my death on your consience.
Hi
Its very sinple.
Go to the NodeCheck event of the Tree View Control and paste the following code.
You can change to True or False accordingly
Private Sub TreeView1_NodeCheck(ByVal Node As MSComctlLib.Node)
If Node.Checked = True Then
Node.Checked = False
End If
End Sub
All the very best
Bye Bye Take Care
Vijooo