TreeView (Root) (1 Viewer)

scottfarcus

Registered User.
Local time
Today, 04:10
Joined
Oct 15, 2001
Messages
182
I am using a treeview in one of my forms.

It works beautifully, with one exception...

I would like to use the tree view to update an underlying table after all adjustments have been made. I would like to update:

ThreadText with Node.Text
ParentID with Node.Parent.Key
and
InitialThread with Node.Root.Key

Unfortunately, the root property returns the first root node in the treeview regardless of the node I am viewing. It seems that all nodes return the very first root instead of their respective root node.

I can see a tree line connecting Root1 and Root2. I know that they are sublings, but is Root1 considered the root for all nodes? How do I return the actual root for a given node?

Thanks in advance!
 

scottfarcus

Registered User.
Local time
Today, 04:10
Joined
Oct 15, 2001
Messages
182
nevermind.

i'll use the Full Path property and parse out the root.
 

Users who are viewing this thread

Top Bottom