Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLEAR CLASSLIB - what does it do?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00422838
Message ID:
00423642
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform