Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relaseing Instantiated classes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00131909
Message ID:
00131914
Vues:
19
Mike,
I always put a destroy method in any custom object I build.
You only need to x = .null. and the destroy method automatically fires.
In the destroy you can release anything if you need to. Many times mine is simply blank or I release procedure files etc if they weren't loaded upon entry.

Robert

>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'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform