Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump to a specific node in a treeview and expand it
Message
From
22/10/2003 21:03:24
 
 
To
22/10/2003 18:18:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00841352
Message ID:
00841392
Views:
34
This message has been marked as a message which has helped to the initial question of the thread.
Change your
.ADD('Message1'+'_'+'0000',tvwChild,al3parnt.ckey,TRIM(al3Parnt.cSelf))
line to
oNode = .ADD('Message1'+'_'+'0000',tvwChild,al3parnt.ckey,TRIM(al3Parnt.cSelf))
and then add the line
oNode.Expanded = .T.
after the point where you know its children have been added.

Untested, but I think it's close.

cheers
SNIP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform