Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to include a .h file in all my project?
Message
 
 
À
17/09/2001 11:40:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00557313
Message ID:
00557327
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform