Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid shows up correctly only the first time
Message
 
 
À
17/10/2005 15:13:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01059678
Message ID:
01059747
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform