cyprus106
Programmer
- Apr 30, 2001
- 654
OK, so I've got a program that requires the TTreeView's hierarchal branches, (in other words, i need to be able to press that Plus button to the left and still show the subitems below with the little line and everything), but a header on the top, like the ListView's ViewStyle=vsReport property. So f.e...
HEADING1 HEADING1 HEADING3
+MyItem
-SubItem1 SI1Props SI1Props2
-SubItem2 SI2Props SI2Props2
+MyNextItem
if that makes sense... I swear I've seen this done in a few programs before, (if i find which I'll post them) but I can't seem to make it work with either the list or the treeview. I used the THeaderControl to put over the TTreeView so it LOOKS like what I need, but there's no columns in the TreeView, so it's useless. I've got to have both things exactly like the example but I've tried to emulate it and it just doesn't work...
Cyprus
HEADING1 HEADING1 HEADING3
+MyItem
-SubItem1 SI1Props SI1Props2
-SubItem2 SI2Props SI2Props2
+MyNextItem
if that makes sense... I swear I've seen this done in a few programs before, (if i find which I'll post them) but I can't seem to make it work with either the list or the treeview. I used the THeaderControl to put over the TTreeView so it LOOKS like what I need, but there's no columns in the TreeView, so it's useless. I've got to have both things exactly like the example but I've tried to emulate it and it just doesn't work...
Cyprus