Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please confirm this for me - CLOSE ALL
Message
De
11/03/2005 17:18:47
 
 
À
11/03/2005 17:13:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00995029
Message ID:
00995043
Vues:
18
>>>Hello all.
>>>
>>>I been do foxpro for years now and I just discover something.
>>>I never knew "CLOSE ALL" statement affects "SET CLASSLIB..." statement.
>>>
>>>Is this true?
>>
>>No.
>
>
>LOL.
>
>Ok then how come the following code after CLOSE ALL, my app. looses its classlib?
>
>ox=createobject("MyClass")
>boom - "MyClass" not found.....
>
>*********************************
>set classlib to MyLib.vcx
>close all
>*********************************
>
>
>But if I do this....
>*********************************
>set classlib to MyLib.vcx
>close data all
>*********************************
>
>I'm ok....
>
>huh, huh ?.... ;)

You're right. I saw CLEAR ALL, not CLOSE ALL. CLOSE ALL definitely clears the SET CLASSLIB all the way back to at least VFP6.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform