>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