Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#include in Sub-Classes
Message
 
 
À
16/06/2002 16:02:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00669035
Message ID:
00669064
Vues:
11
Bill,

Nope, there is not.

The way that I deal with this issue, is to greate a .h file with the same name as the classlib itself. Every classl in the classlib adds it's constants to this file. There is also a #include for every classlib.h that has a ParentClass of a class in the classlib. This is the easiest way I've found to make sure that every class has access to all the #defines.

>Is there any way to get a sub-class to AUTOMATICALLY include the Include File that is in the parent class?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform