Treeview / Checkboxes

  • Thread starter Thread starter Billy Jacobs
  • Start date Start date
B

Billy Jacobs

Problem:
1.I want to use the treeview control.
2.I only want checkboxes on some nodes.

I don't know how to accomplish this easily.

Any suggestions?

Billy Jacobs
 
Hi Billy,

Thanks for your post. As you know, the TreeView.CheckBoxes property will
display a checkbox in all TreeNodes. To work around this problem, I
recommend you the following article which implements TreeNodeCheckBox class.

XP theme aware TreeView control which supports checkbox and radio button
nodes
http://www.codeproject.com/cs/miscctrl/TreeViewRadioBox.asp

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top