Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relaseing Instantiated classes
Message
 
À
01/09/1998 11:26:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00131909
Message ID:
00132159
Vues:
20
>This maybe an easy one: If I use
>
>x=createobject('classx')
>
>How can I program classx to
>
>release x
>
>If 'x' isn't always named 'x'

If you use AddObject(...) instead of CreateObject() then you will not have 'extra' objects when you close the form your object is on. If your object is the form itself, then Nancy's "Release this" becomes the simplest way.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform