Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally include forms
Message
De
12/11/2004 14:52:44
 
 
À
12/11/2004 13:57:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00960955
Message ID:
00960987
Vues:
7
>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


Do you have the include file as belonging to the Form, too? (Form menu/Include File...)

Did you do a recompile all?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform