Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transfer values from 1 form to another form!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00364132
Message ID:
00364383
Vues:
22
I want to point out that while it is a good practice to clear every pointer when you are done with them, it's not an obligation in that situation since the second form should be modal or the developper should be prepared to deal with the fact that the user may want to kill the calling form before killing the second form. If the second form is not modal, it should probaly save the content of the object reference to a property before immediatly releasing the object. Otherwise, when the user try to kill the first form, it won't go away since the second form has a reference to one of it's member.
>You should also add the line
>
>thisform.myProp = .NULL.
>
>in form.Destroy() method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform