Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview not visible initially
Message
From
03/03/2006 11:28:01
 
 
To
03/03/2006 00:17:18
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101161
Message ID:
01101282
Views:
10
>I added a treeview and populate the nodes. When the form first loaded the treeview is not visible. I have to click where the treeview is located in order for it to appear. Does anyone have any idea why this might happened?

I have seen this as well with other active-x controls (particularly on pageframes); I don't know the cause (both in VFP 8 and VFP 9). I have tried to explicity set .visible=.T. and did not make a difference. What did was to fire the .Setfocus() method in the InteractiveChange() event on the Page; in your case I would suggest calling it in the form Init() event.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform