Damn..I've managed to post directly to Valentin..again...

Thanks Valentin for a quick response...here is a better explanation of
what I need... I am actually dealing with two things...first I have a
small management app that uses the cXtraTreeview as a quick  design tool
to create a navigation structure that will be used later in a different
app.

So I don't really need to retrieve the final item in a branch but
actually I want to know where I am within the tree so I can change the
navigation of the interface accordingly, that's why the multidimensional
list should be perfect...I don't envisage a lot of data involved there.

The cXtraTreeview will spit out immediately something like this:

-- "Node
{
  Text = RootFolder
  ImageIndex = 0
  SelectedIndex = 0
  NAME = All Developments
  Node
  {
    Text = StartPoint
    ImageIndex = 1
    SelectedIndex = 1
    NAME = Section0
    Node
    {
      Text = Main Menu
      ImageIndex = 2
      SelectedIndex = 2
      NAME = Section
      Node
      {
        Text = About
        ImageIndex = 3
        SelectedIndex = 4
        NAME = Section
      }
      Node
      {
        Text = Media
        ImageIndex = 3
        SelectedIndex = 4
        NAME = Section
      }
      Node
      {
        Text = Location
        ImageIndex = 3
        SelectedIndex = 4
        NAME = Section
      }
      Node
      {
        Text = Text
        ImageIndex = 3
        SelectedIndex = 4
        NAME = Section
      }
    }
  }
}
"

So do you have an idea how to convert something like this or actually
use it in this format?

It all looks to me very XML-ish and I know I've done this before but I'm
simply dumb tonight :)

Thanks a lot

Pedja

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to