Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help. The Destroy event of my session object keeps firin
Message
De
09/01/2001 11:55:12
 
 
À
09/01/2001 08:17:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00461058
Message ID:
00461232
Vues:
13
>I think I have solved this problem now.
>
>It looks like it was because, oDS, my object reference was going out of scope when the forms load event finished.
>
>I have made oDS public now and all seems ok.
>
>Should I have made oDS a property of my form instead of a variable.
>Would this slow things down?

Yes, a form property would be the preferred way to deal with something that only belongs to the form. A PUBLIC variable could cause you trouble. No, I doubt that speed would be an issue here.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform