Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is SET CLASSLIB TO ... ADDITIVE good for the entire proj
Message
De
19/05/1999 19:52:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220643
Message ID:
00220652
Vues:
25
>If I do a SET CLASSLIB TO whatever ADDITIVE in my startup program, will it be available to all my forms and procedures from there ?
>

Yes... or until you SET CLASSLIB without ADDITIVE.

>If I issue a second time a SET CLASSLIB ... of the same library, will it put it twice in memory ?
>

No... you can also check to see if your class is in SET CLASSLIB with something like...

If 'MYCLASS' $ Upper( Set( 'ClassLib) )

Also, you can use NewObject which will add the classlib to set classlib if it is not in the list.

>Thanks
>Eric.

HTH,
BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform