| Description:How to get the level of the selecteditem in a treeview control Function GetNodeLevel(aNode as node) as Integer Dim level as Integer On Error Goto ExitGetNodeLevel Do While not aNode.parent is nothing level = level + 1 set aNode = aNode.parent loop ExitGetNodeLevel: Exit Function End Function |
GetNodeLevel |
Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design