Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About #INCLUDE
Message
 
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:
00850206
Views:
15
Joao,

Foxpro.h has #DEFINEs for these values and many more. You should make a habit of including it, and saving yourself the trouble of "reinventing the wheel". In order for these to be available to your entire application, the #INCLUDE command should appear near the top of your Main program or module (menu, etc.).

Dana

>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
Where's the damned Any Key?...too late
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform