Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid shows up correctly only the first time
Message
 
 
To
17/10/2005 15:13:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059678
Message ID:
01059747
Views:
10
>Because the grid is on crack! (hehehe).
>
>I think it has something to do with the fact that the RecordSource gets recreated. Try setting the RecordSource to blank then recreating the cursor and then reassigning the RecordSource.
>
>Aloha,
>
>James

No, it should not be the case here, because I use RemoveObject and NewObject, so the container is getting completely re-created. Unless something is stuck in memory somehow (I was thinking about it on the way home in a train).

I think, Dragan nailed the cause and hopefully his idea will work. Otherwise I would probably have to either create grid as a separate class and add it in run-time as well or put all in code, which would be a pain...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform