Very interesting feedback Christof - and, I do indeed understand your point. 
Luckily - in my case - for this screen - it's purely a Form and not a Class, so 
in my case it's not an issue. 
But - yeah - I VERY Much appreciate the feedback!

-K

________________________________________
From: Christof Wollenhaupt <[email protected]>
Sent: Tuesday, February 24, 2026 4:17 AM
To: [email protected] <[email protected]>
Subject: Re: A Problem w/Grid Headers...

It’s not important in your case, nonetheless could be worth mentioning. For 
classes the expression is only evaluated once when the class is loaded for the 
first time. The reason for this is that the expression is evaluated on the 
class object, which is the template that VFP then copies to create further 
instances. In forms, on the other hand, it’s evaluated every time you run a 
form, because forms are always created from scratch.

For the same reason you can cause dangling references when these expressions 
persist a reference to THIS, because THIS at that time points to a class object 
instead of an instance.
—
Christof

> Writing "raw" text into property VFP saves without any change, including
> CRL+LR. Using "=" evaluates it.

Reply via email to