Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public Variable Losing Scope on Init of Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00541965
Message ID:
00542277
Vues:
23
>Hi Nancy,
>
>>>You should stay away from public variables altogether. Instead, make them properties of your application object.
>>
>>Which of course would be a public variable...< beg>
>
>Not neccesary.
>
>I've got my oApp tied to _SCREEN, so all my calls are _SCREEN.oApp.xxxxx
>
>Whenever VFP6 clears all its (global) variables when certain errors occur (I've seen it occur) at least my oApp is still there because it is not a (global) variable but a property/object of _SCREEN.
>
>Regards,

Red, White and Blud...nice sig, Frank!
ProMatrix MVP... I did some moonlighting for an old client last fall, and the app they purchased the source to was partly built with VPM.
Nice framework. Quick and easy to learn and use.
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform