index | search | no replies | posting guidelines | help | login | register |
Index » General » Site & Forum Feedback |
| |||||||
Jul 31 2008, 8:38 AM |
| ||||||
ghost from: Washington, DC | Just keep adding the nodes as shown in the example e.g. to add a 4th node, just add the following code below the erd node: tv.AddNode( "My 4th Node" ) tv.Nodes( 4 ).Add(tv.CreateSimpleNode("USD" )) tv.Nodes( 4 ).ChildNodes(0 ).ImageUrl= "images/dollar.gif" tv.Nodes( 4 ).ChildNodes(0 ).Add(tv.CreateNode("$1.00", "images/Currency/usd/dollar.jpg", "$1.00" )) tv.Nodes( 4 ).ChildNodes(0 ).Add(tv.CreateNode("$20.00", "images/Currency/usd/new20.jpg", "New $20.00 bill" )) tv.Nodes( 4 ).ChildNodes(0 ).Add(tv.CreateNode("$100.00", "images/Currency/usd/100.jpg", "$100.00 bill" )) tv.Nodes( 4 ).Add(tv.CreateSimpleNode("XAF" )) tv.Nodes( 4 ).ChildNodes(1 ).Add(tv.CreateNode("10, 000 FCFA", "images/Currency/xaf/cas2b.jpg", "10, 000 FCFA" )) tv.Nodes( 4 ).ChildNodes(1 ).Add(tv.CreateNode("1, 000 FCFA", "images/Currency/xaf/casf.jpg", "1, 000 FCFA" )) tv.Nodes( 4 ).ChildNodes(1 ).Add(tv.CreateNode("2, 000 FCFA", "images/Currency/xaf/cas4b.jpg", "2, 000 FCFA" )) ------------------------- Ghost | ||||||
Pages: (1) [1] |