|
-
April 10th, 2001, 12:27 PM
#1
Urgent How can I disable user click on TreeView CheckBox???
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.
All code on this page is protected by an SEP field!!!
-
April 11th, 2001, 12:17 AM
#2
Re: Urgent How can I disable user click on TreeView CheckBox???
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|