Lists and structures in structures
Posted: Tue Jun 10, 2003 6:52 pm
Hi ev'rybody!
I want to build a tree with different items and subitems like this:
ITEM1
|
|--SUBITEM1.1
| |
| |--SUBSUBITEM1.1.1
| | |
| | |--SUBSUBSUBITEM1.1.1.1
| | |--SUBSUBSUBITEM1.1.1.2
| | |--SUBSUBSUBITEM1.1.1.3
| | |--(and so on)
| |
| |--SUBSUBITEM1.1.2
| | |
| | |--SUBSUBSUBITEM1.1.2.1
| | |--SUBSUBSUBITEM1.1.2.2
| | |--(and so on)
| |
| |--SUBSUBITEM1.1.3 (and so on)
| |
|--SUBITEM1.2
| |
| |--SUBSUBITEM1.2.1
| | |
| | |--SUBSUBSUBITEM1.2.1.1
| | |--SUBSUBSUBITEM1.2.1.2
| | |--SUBSUBSUBITEM1.2.1.3
| | |--(and so on)
|
ITEM2
|
|--SUBITEM2.1
| |
| |--SUBSUBITEM2.1.1
and so on. The items have to be shown in a treegadget.
My question: How Do I have to put the (sub(sub(sub)))-Items into a list or into a structure? The tree is dynamic that means that I want to insert or delete a new item at any time and anywhere...
--
Greetings and sorry for my bad english...
Martin.
I want to build a tree with different items and subitems like this:
ITEM1
|
|--SUBITEM1.1
| |
| |--SUBSUBITEM1.1.1
| | |
| | |--SUBSUBSUBITEM1.1.1.1
| | |--SUBSUBSUBITEM1.1.1.2
| | |--SUBSUBSUBITEM1.1.1.3
| | |--(and so on)
| |
| |--SUBSUBITEM1.1.2
| | |
| | |--SUBSUBSUBITEM1.1.2.1
| | |--SUBSUBSUBITEM1.1.2.2
| | |--(and so on)
| |
| |--SUBSUBITEM1.1.3 (and so on)
| |
|--SUBITEM1.2
| |
| |--SUBSUBITEM1.2.1
| | |
| | |--SUBSUBSUBITEM1.2.1.1
| | |--SUBSUBSUBITEM1.2.1.2
| | |--SUBSUBSUBITEM1.2.1.3
| | |--(and so on)
|
ITEM2
|
|--SUBITEM2.1
| |
| |--SUBSUBITEM2.1.1
and so on. The items have to be shown in a treegadget.
My question: How Do I have to put the (sub(sub(sub)))-Items into a list or into a structure? The tree is dynamic that means that I want to insert or delete a new item at any time and anywhere...
--
Greetings and sorry for my bad english...

Martin.