Solved

Indeterminate CheckState for a TreeView node

Posted on 2004-10-07
3
684 Views
Last Modified: 2012-08-13
Hi Experts,

I have a TreeView with check boxes enabled. I am showing in it a hierarchy of objects, so I have objects and then subobjects for them (shown as child nodes in the TreeView). I would like to make it so, that when I select some of the children (but not all), the check box for the parent node is in the Indeterminate state (as known from the CheckBox control). Is this possible?

An alternative/customized TreeView control would also work if it is easy to handle.

Thanks
TheAvenger
0
Comment
Question by:TheAvenger
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 250 total points
ID: 12256347
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12256498
It would be even better if it could handle both images and tri state, but still this is a step forward
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12256590
Glad to help :)
You may need to see the codes of both of them a little bit and make your own powerful :) custom component
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now