Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally include forms
Message
De
12/11/2004 13:57:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Conditionally include forms
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00960955
Message ID:
00960955
Vues:
48
Hi

I need conditionally include forms, I tested this in main program
#DEFINE compile 1

#IFDEF compile   
   do form xyz
#ELSE
   do form abc
#ENDIF
it works, but if I use in a button click method of form xyz the following
#IFDEF compile   
   do form 12345
#ELSE
   do form 3456
#ENDIF
the program compile the form 3456

Where is my error??

Tank you
Luigi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform