
TreeView Parent/Child Expanded Question
I've an App that uses TreeView. My data can be in any quantity and order.
I've done my sorting so that the "nodes" are correct. I get the proper
TreeView of what my data represents. A portion of my code is thus:
Set nodX = TB4TreeView.Nodes.Add(A$, B$ , C$, D$, 1)
nodX.Expanded = True
My question is that currently I'm displaying my TreeView Expanded. Thus both
Parent and Child! What I would like to do is to ONLY expand Parent nodes!
How does one go about doing this (if it is at all possible). From what I've
read up on TreeView, I can't figure this out as you do not build the Treeview
specifically figuring out which is a parent and which is a child.
Any tips would be appreciated!
Regards,
Bruce
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I have seen the evidence. I want DIFFERENT evidence!
(live from the West End of Vancouver, B.C. Canada)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NOTICE: Please CHANGE my address of <NETCA.COM> to <NETCOM.CA> IF you
~~~~~~~ send me ANY Email replies. This was done to STOP all UnSolicted
~~~~~~~ JUNK E-Mailings. Sorry to do this BUT it does stop SPAM Email!