Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview childnode drag and drop 1

Status
Not open for further replies.

Flippertje

Technical User
Mar 12, 2004
118
NL
Hello all,

after reading all i could find here about treeviews i decided to ask this:

i have two treeviews. They are both populated perfectly.
Now i want to drag form treeview1 to treeview2. The problem is that i can't get it to drop the selected text from treeview1 in the right childnode in treeview2

E.g. treeview1: nodeboss:- Inventory Childnode: -Chair

to treeview2 under nodeboss: - Salesagency childenode: - Office

I use the following code:

set nd = me.treeview2.nodes.add(bosstree2, tvwchild, , childtree1)

in this example bosstree2=Salesagency and childtree1= Chair

I think this isn't working because bosstree2 is not reconized as a node.

How can get this to work????? It can well be i just don't see the simple answer.....

Many thanks,

Flippertje!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top