Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to reference an other form than the mainform ?
Message
De
30/04/2001 14:26:06
 
 
À
30/04/2001 14:01:12
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00499895
Message ID:
00501690
Vues:
48
One other issue --

You have to be careful about managing the object references.

Consider this scenario.
Form A calls form B.
Form A passes along its reference to form B which saves it to a property.
If you try to release form A -- you'll have a dangling reference, and the form will remain on the form.

You may be able to prevent that in code.

In the 3rd scenario, in the Destroy method of the updated form, you should set the global variable to .NULL. again.
oUpdateMe = .NULL.
DODEFAULT()
Jay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform