Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Including .h files in subclasses
Message
 
 
À
05/08/1998 16:11:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00124252
Message ID:
00124284
Vues:
19
Bob,

I typically create a .h file for each classlib with the same filename. Whenever a class needs to have an include file they always use the one file. The second classlib .h then has one or more #include OtherClasslib.h files in it. It's kind of a PITA that subclasses don't inherit the include files, but the one .h per .vcx has worked well for me.

>(Using the class builder) I can include a .h file in a class. But if I subclass the class, I have to include the .h file again.
>
>Is there a better way to do this? Should I be using some type of enumeration class? What if I want to include 2 (or more) .h files in a 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