Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select a node in treeview programmatically?
Message
From
15/04/2009 10:40:36
 
 
To
15/04/2009 10:22:05
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01394949
Message ID:
01394972
Views:
44
Strange - The node gets highlighted over here when I do that


>Nope. But at lease it does not create an error
>
>
>
>
>
>>>I have a treeview with let's say 200 nodes and want to select a certain node by key if possible from withina program
>>>
>>>I tried by index:
>>>
>>>oForm.oTree1.SELECTEDITEM.index=25
>>>
>>>
>>>but not even that works
>>>
>>>
>>>Thanks
>>>
>>>Peter
>>
>>
>>Does the following work ?
>>
>>oForm.oTree1.Nodes(25).Selected = .t.
>>
>>
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform