Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort in Treeview
Message
 
 
To
10/06/2002 22:07:04
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00666763
Message ID:
00666769
Views:
24
John,

You have to set the Sorted property of the parent node. For example this will cause the first level of a treeview control sort itself:

treeview101a.otreeview.nodes(1).sorted = .t.


> How to sort treeview node after add a new node? I used to try
>
>
>WITH THISFORM.oletreeview.object.nodes
> loX = .add(,,,,,)
> loX.Sorted = .T.
>ENDWITH
>
>
>But it not work!!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform