Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
='' in a form property
Message
From
19/01/2009 03:42:26
 
 
To
18/01/2009 13:42:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01374677
Message ID:
01374965
Views:
13
>>What does it mean when a developer has put this in the property of form instead of just quotes?
>>
>>=''
>>
>
>Expression in a property line preceded by an equal sign is eval()uated during the instantiation of the control (i.e. before its .init()) and is not refreshed later. So it's a once-in-a-lifetime, actually congenital, way to have a sort of dynamic property without really writing any code.
>
>The bad part of it is that under some circumstances this expression may be calculated during development. If you have a
>
>=TranslateToMongolian("This is a caption")
>
>for a caption, and the routine TranslateToMongolian() is available but the mongolian.dbf isn't open, the routine will probably crash (though you can ignore the error - but having to ignore it every time you open the class for editing will become tedious).

Hi,

on VFP 7 or 8 the team remove UDF evaluation on class's property.
Also property_Access is not evaluated.
Only VFP native functions work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform