>>>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.
Still happens to me if TranslateToMongolian() is found in Set("Procedure")... though not too often, I have an IDE setup routine that sets paths and cleans various SETs that I run almost automatically whenever coming back from a trial run, and it closes the procedure files as well.