Looking for special Tree View

gimpelzack
04-23-2002, 11:02 AM
Hi!

I'm looking for a Tree View which can be combined with Checkboxes.

So if you click on a Checkbox found in an element of the Tree View this branch collapses and reveals further branches.

Do you know where I can find this Control?

Thx!

reboot
04-23-2002, 11:05 AM
Checkboxes or +, - ?

gimpelzack
04-23-2002, 11:10 AM
It looks like this

|
|
|----Text-|X|
| |-------------
|
|
|----Text-|X|


|X| means Checkbox.

If you check the Checkbox, another branch collapses. (See the first Checkbox above. The +,- are optional.

reboot
04-23-2002, 11:19 AM
Where exactly did you see this "control"? And why are you even so sure it IS a "control"?

ChiefRedBull
04-23-2002, 11:41 AM
These "special" controls you speak of are ordinary controls that have been modified by a good programmer. You can subclass most controls to achieve amazing effects, and one of these is adding checkboxes.
You might be able to buy them somewhere, but we can't really help you with that.
As Orbity stated in the other thread, you have to design your own, or modify an existing control, and that, we can h elp with. :)

Squirm
04-23-2002, 12:25 PM
Whats wrong with the normal + and - for expanding and collapsing the tree? :confused:

ChiefRedBull
04-23-2002, 12:52 PM
I think he wants a checkbox *after* the item like this:
+ ROOT
|
|---- + Item1 [x]
|
|---- + Item2 [x]where [x] is a checkbox.

Oops, didn't read his question right. I agree with Squirm - what is wrong with normal + - boxes?

Flyguy
04-23-2002, 01:48 PM
You don't mean this?
http://www.relevant.nl/tv.gif

gimpelzack
04-25-2002, 02:52 PM
Yes!! This would be it exactly! Would there be a possibility to get it?

Thx!

quwiltw
04-25-2002, 03:15 PM
http://www.dbi-tech.com/ctTree.asp
here's a similiar one.

ChiefRedBull
04-25-2002, 03:27 PM
If you can't afford that one, then you have to write your own. You can do it with some heavy subclassing (and an awful lot of trial and error) but its not for the faint hearted. Get back to us if you do want to do this and we can point you towards some decent tutorials on subclassing, but we won't do it for you.

Thinker
04-25-2002, 07:41 PM
What if you just set the Checkboxes property of the TreeView
control to True?

Flyguy
04-26-2002, 08:32 AM
It's indeed a normal TreeView control with the checkboxes property activated.

divil
04-26-2002, 08:51 AM
I *was* wondering why people were going on about subclassing.

ChiefRedBull
04-26-2002, 11:08 AM
Ahem... /me hides in corner. Didn't know about that one. :(

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum