![]() |
|
QA: How can I create a tree control with checkboxes?
By Vassili Philippov, May 16, 2002.
QuestionI am using a tree control in my eVC application. I want to display checkboxes for the tree items. I have selected checkbox option in the properties dialog but when I added nodes to the tree it is not displaying checkboxes. How can I fix it? AnswerBy some reason the tree control shows checkboxes only when an image list is assigned. If you do not need images in the tree control you can create a dummy image list with images that look like checkboxes. Step by step
SourcesYou can download a sample project with sources - CheckboxTree.zip (18Kb). DiscussDiscuss this article. Here you can write your comments and read comments of other developers. |
|||||||||||||||||||||