Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to include a .h file in all my project?
Message
 
 
To
17/09/2001 11:40:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00557313
Message ID:
00557327
Views:
12
>Hi,
>
>I have a file (decl.h) that contains all my error messages and important definitions for my project.
>
>Each time I write code inside an object method (the "click" of a button for example) I have to add the line "#INCLUDE [decl.h]" at the top. Is there a way to include the definitions inside a .h file once and have those definitions accessible anywhere in the entire project? Or, at least, inside my whole class?
>
>Thanks, Stephane.

In the Menu Class select Include and add your header. Now all methods will see it. You have to write this line of code for programs and you have to do the same procedure for forms in the project too, if you want to use this header file (Menu Form/Include).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform