I am playing around with the treeview at present not really getting anywhere so dont know if I am using the right control?
Example:
Root = OrderNo
Child = Vendor
Child of Vendor child = Items
So what I am trying to do is allow the user to expand the tree but only select the root but return the root text along with all subsequent children...
Or if this is not possible when selecting any child ensure the root text is retrieved along with all subsequent children...
I have tried selectednode.index etc but get out of range to object not set errors.
I can only get value using selectednode.text?
Help anyone???
Example:
Root = OrderNo
Child = Vendor
Child of Vendor child = Items
So what I am trying to do is allow the user to expand the tree but only select the root but return the root text along with all subsequent children...
Or if this is not possible when selecting any child ensure the root text is retrieved along with all subsequent children...
I have tried selectednode.index etc but get out of range to object not set errors.
I can only get value using selectednode.text?
Help anyone???