Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About the Set Classlib statements for an app?
Message
 
 
À
29/07/2009 11:15:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01415323
Message ID:
01415328
Vues:
110
>Is there any potential problems with the number of Set Classlib statements in app. Is it common to have so many as I do in an app, or have I gone off the deep end?
>
>By the way, do I actually need to call them out like this? It seems like if a form uses a control from a VCX that it will find it just fine, so now I'm wondering why I wrote all this in the first place.
>
>Perhaps I recall doing it so I can run PRGs or command line so I can just reference the classname without having to specify the VCX. Is that the deal?
>
>  *== Set CLASSLIBs ==================================================================
>  Set Classlib To 'mylib' Additive
>  Set Classlib To 'menu' Additive
>  Set Classlib To 'lmbo' Additive
>  Set Classlib To 'toolbars' Additive
>  Set Classlib To 'ghl' Additive
>  Set Classlib To 'GridExtras' Additive
>  Set Classlib To 'rcsCalendar' Additive
>  Set Classlib To 'Factory' Additive
>  Set Classlib To 'registry' Additive
>  Set Classlib To '_table' Additive
>  Set Classlib To '_environ' Additive
>  Set Classlib To '_utility' Additive
>  Set Classlib To '_datetime' Additive
>  Set Classlib To 'SednaMy' Additive
>
>
Matt,

I think this amount of libraries is OK. If you don't instantiate an object from these classes in these classlibs via CreateObject(), you don't need the SET CLASSLIB statement.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform