Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Used a define in form object property
Message
From
29/08/1996 17:38:50
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00006898
Message ID:
00006938
Views:
69
It will not work. The #Define directive has been discussed here several times. #Define is a compile directive. It replaces all occurences of the string "_DefineCaption" with the string "1" before compilation. This meens that your compiled text will be:
=MYCAPTION(1)
So, MyCaption will always return "String1". You can't use here a constant. You must use a variable or a form's property.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform