Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very Scary VFP Behavior on my PC !
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00018289
Message ID:
00018423
Vues:
36
>>I added a Method to the base Form class in my class library. When I ran the first form, based on this class, the error handler was called without any parameters. I soon discovered that the Error Method code and Unload Event code was switched. All code from the Error was in the Unload, and all code from the Unload was in the Error. Further investigation showed the Init and Destroy code switched. All of this was at the Form level. There was also a command button on the Form, and the Error and Click code was switched.
>>
>>I hope this is just my PC or maybe a damaged .scx not a feature.
>>
>>Any one else added methods to a class Form, or experienced the code switching ?
>
>The only time I've ever experienced something like this was when I changed something in the vcx and forgot to recompile it.
>
>Greg

Well, enough time spent on this. I can not re-create the problem on the new drive copy of the system. Recompile or not everyting works.
I was moving a form level method to the class library, and I used the same name in both. This may have started the problem. Anyway, time to stop chasing phantom bugs, and get on with real work. Backup, Backup, Backup, it pays :)
Thanks everyone.
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform