Tree Control Example

Started by Peter, August 31, 2009, 06:41:24 AM

Previous topic - Next topic

Peter

Good Morning Group,

(This is my first post on this forum)

I have need for a program I am developing for a tree Control.

Can you share with me the structure of the list of sublists necessary for this control?

is it like

(list (list "A" "1" "ItemA11")
      (list "A" "2" "ItemA21")
      (list "B" "1" "HelloB11")
      (list "B" "2" "TestB21")
      (list "B" "2" "TestB22")
...
)

Something else?

Also do any of you have a simple example that shows the population and manipulation of a tree?

owenwengerd

Welcome aboard, Peter. Have you looked at the TreeView.lsp sample that gets installed with OpenDL Studio? In that file, the c:TreeView_Main_OnInitialize function adds several parent nodes, and several child nodes to the tree control.
Owen Wengerd (Outside The Box) / ManuSoft