Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Including .h files in subclasses
Message
 
 
To
05/08/1998 16:11:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00124252
Message ID:
00124284
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform