Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About #INCLUDE
Message
From
11/11/2003 08:15:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/11/2003 07:39:50
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00848644
Message ID:
00848653
Views:
14
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform