Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageCount and Fatal Error
Message
 
 
À
08/12/2009 18:57:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Divers
Thread ID:
01438126
Message ID:
01438131
Vues:
48
>Hi all,
>
>I have the strangest problem. I was making a lot of changes on a form with pageframe and test it, it resulted in dreaded fatal error C0...5. I checked the log and there was no information. I started over again by deleting all FoxUser.*, recompiled .dbc, cleaned up, etc... and restored the old form. I made a change, saved it in backup, tested it, one at a time, to pinpoint the cause of the fatal error. All changes ran fine but then when I added a new page (PageCount was 6, changed it to 7), bam, fatal error! Just ONE simple change! A new page! I also tried This.Refresh() in the click method to no avail. Page 7 has nothing in it. For the life of me, I do not understand why adding a new page caused the fatal error.

I agree with Dragan, though it would require bunch of changes. Save all objects on each page as a separate container based class and instantiate it in run-time first time the page is activated.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform