Re: Hierarchical Trees

From: Eric Givler <egivler_at_flash.net>
Date: Mon, 04 Dec 2000 17:26:19 GMT
Message-ID: <%sQW5.26424$6W1.1551430_at_news.flash.net>


Can you hold the value of the node the user was on, then when they change the underlying data, rebuild the tree, then do a find_tree_node (don't remember the call) looking for that value, and another call to set that node as current (ftree.set_Tree_selection) ?

If it's just an AREA of the tree, maybe you can get the parent of that node, remove that node (which removes all beneath it), and re-add the new "structure" via a record group back to the tree. Then issue the find and set to select it?

I hope that makes sense (and is "do-able")

Lori Proskunik <lori_at_5d.ca> wrote in message news:ayOW5.174$55.3654_at_news-rep.ab.videon.ca...
> It is the latter...The user must select a node in the tree which takes
 them
> into a form where they can change the parent node information. We were
> originally doing a rebuild via the query, however the rebuild causes the
> tree to collapse (only the first level nodes are expanded), and we want
 the
> tree to be left expanded to the node that the user had previously
 selected,
> so that they would not have to re-navigate to their node.
>
> Again, any help is greatly appreciated.
Received on Mon Dec 04 2000 - 18:26:19 CET

Original text of this message