>Once a form is showing, I need to ascertain if the value of a property has changed from the value originally set in the PEM sheet. I have tried using PEMSTATUS(object,property,0), but this returns .T. even if the value was changed manually from the default value in the PEM sheet at design-time. I would have expected the result to be .F. until the value was changed once the program had started, not changed from its default value at designtime.
>
>On a similar subject, I would like to ascertain the value of a property as set in the PEM sheet. Short of setting-up up another property to store the initial value of the original property in form.init(), is there a more efficient way of doing this?
>
>Any help would be appreciated.
>
>Regards,
Alan,
Regarding the first question, I don't think there's a way to determine this. BINDEVENT() might, but I think that there's a larger issue.
A well constructed class, shouldn't, IMO, set default values. That's something I think should be done with the child classes. Again, IMO, this promotes polymorphism and information hiding.
In regards to the second question, the accessor methods (_Access and _Assign) might be what you're looking for during run time.
George
Ubi caritas et amor, deus ibi est