Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally include forms
Message
From
12/11/2004 13:57:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Conditionally include forms
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960955
Message ID:
00960955
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform