Computing.Net > Forums > Programming > VB Treeview Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB Treeview Help

Reply to Message Icon

Name: Mala
Date: July 30, 2003 at 00:35:17 Pacific
OS: Win 98
CPU/Ram: P-4
Comment:

Dear Friends

I am developing a software in Visual Basic where I have to use a form to assign MENU RIGHTS to users. I want to use a TREEVIEW Control in VB. How can I use Check Boxes in the Nodes so that the RIGHT I want to assign I put it on and the RIGHTS I do not want to assign I put it off.


Please Help as to what code to use.

Thanx

Mala Jain



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: July 30, 2003 at 07:10:32 Pacific
Reply:

Mala,
Right click on the treeview control in the form editor and choose PROPERTIES. There you can select CHECKBOXES.

Then you can use treeview1.nodes(#).checked = true or false to set those checks.

In addition there is an event called NodeCheck that is called whenever a node is checked by the user.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB Treeview Help

VB 6 Help www.computing.net/answers/programming/vb-6-help/8623.html

VB programming help needed www.computing.net/answers/programming/vb-programming-help-needed/7718.html

VB Programming help www.computing.net/answers/programming/vb-programming-help/9032.html