Creating a List of TreeViews

  • Thread starter Thread starter sho_nuff
  • Start date Start date
S

sho_nuff

Hello all,

I want to create a List of TreeViews in either a ListView or ListBox
component.

The result would be a list object that for the first row has a tree
like:

com
-foo
-goo
-blue

and then another row that has another tree, and so on and so forth.

What would be the simplest way to do this? Would it be to use a
ListBox and create an owner draw handler... or would it be to use a
ListView and create an object that extends ListViewItem? Or some
other way i haven't thought of?

Thanks,
SN
 
The idea behind this is that each tree is a different occurance of
some arbitrary thing and is unique. To make this clear, i wanted to
display each in its own tree for the user.

So, again. One row for each tree that can be expanded (and possibly
manipulated).

I don't really need the Details, Lg Icons, Sm Icon functionality of a
listview, but didn't know if it would be easier to use a listview and
extend listviewitem. Or is it easier to use a ListBox and write an
owner/custom display for my listbox.
 
Frank Oquendowrote:
sho_nuff said:
What would be the simplest way to do this?
Why do you need multiple treeviews to create a single tree structure?

--
There are 10 kinds of people. Those who understand binary and those
who
don't.

http://code.acadx.com
(Pull the pin to
reply)[/quote:fa93011159][quote:fa93011159][/quote:fa93011159]
 
Back
Top