Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLEAR CLASSLIB - what does it do?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00422838
Message ID:
00423642
Vues:
16
>CLEAR CLASSLIB removes a class library from memory that was loaded through SET CLASSLIB TO.

Thanks Jim,

Now that you told me again what I already knew :), I went and test this:
-open a form in form designer (this will load the classlib)
-exit the form designer (class still in use)

-issue CLEAR CLASSLIB myBase - NO EFFECT (class still in use)
BUT
-issue SET CLASSLIB TO myBase
-issue CLEAR CLASSLIB myBase - this WILL clear the class!

So, in order for CLEAR CLASSLIB to work all the time you'll need to precede it with a SET CLASSLIB TO...
No big deal, but it doesn't look quite right to me. At least I know a work around it...

dz
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform