Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About #INCLUDE
Message
 
À
11/11/2003 07:39:50
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00848644
Message ID:
00850206
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform