The #INCLUDE works for PRGs.
For forms, you have to give the command "Form | Include", and select a single include file.
For classes, it is the same, except that the command is "Class | Include".
For more than one include file, have a main include file, which you might call fredesenvolv.h, in which you #INCLUDE all your other include files.
HTH,
Hilmar.
>in the init event I have
>#INCLUDE 'aplic.h'
>
>in aplic.h i have
>*-- MsgBox return values
>#DEFINE IDOK 1 && OK button pressed
>#DEFINE IDCANCEL 2 && Cancel button pressed
>#DEFINE IDABORT 3 && Abort button pressed
>#DEFINE IDRETRY 4 && Retry button pressed
>#DEFINE IDIGNORE 5 && Ignore button pressed
>#DEFINE IDYES 6 && Yes button pressed
>#DEFINE IDNO 7 && No button pressed
>
>and when i refered any of the defined constant in aplic.h i got
>variable 'IDOK' is not found
>
>what to do ?!
>
>Thank you all
>
>João
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)