Olaf Doschke
Programmer
Code:
o = CreateObject("myclass")
? o.myproperty && 0
o.ResetToDefault("myproperty")
? o.myproperty && .F.
Define Class myclass as Custom
myproperty = 0
EndDefine
Expected Result: ResetToDefault should set a property to the value defined in the class instead of .F.
In VCX classes this works correctly, in classes defined in PRG code not.
This might really be a very old and still unnoted bug of very low importance, yet most probably the first discovered after support end three days ago at 13th of January.
Bye, Olaf.