Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange problem with Treeview SelectedItem property
Message
From
24/07/2003 07:26:36
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00812987
Message ID:
00813043
Views:
19
>Hi Jim,
>
>
>THISFORM.Tree.SelectedItem = THISFORM.Tree.Nodes(1)
>
>
>> The error says there is a type mismatch.
>
>So is there ?

Well I don't see how there can be when:
1) the same code runs properly if the other form has NOT run first;
2) the statement above it apparently runs correctly in *both* instances (putting nodes into the tree). The problem-causing form does not use the table from which the tree is filled, and even if it did this is a private datasession and necessary records are SEEKed. The table itself remains unchanged between the two runs.
This is what is the "strange" part.
Thanks though.

>Regards,
>Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform