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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To find the last set of children in a tree view control

Status
Not open for further replies.

aradha

Technical User
Dec 4, 2002
15
0
0
AU
Hello,

I am trying to find the last set of children for a tree view control to change the image of the nodes for the last set of children. Can anyone please help me?
 
Iterate through the nodes of the tree view and for each node, check if (Len(Node.Child.Text) < 1). If the expression returns false, the node is the last child node.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top