>>>In your original suggestion should it be
>>>Thisform.AddProperty("oProp", NULL)
>>>
>>>instead of
>>>Thisform.AddProperty("oProp", "Empty")
>>>
>>>or it doesn't really matter?
>>Depending on the coding style
>>Thisform.AddProperty("oProp", createobject("Empty"))
>>might be more fitting
>
>I was thinking that this is really an overkill. I believe that the property should be initialized with NULL.
Depending on what you want. Thisform.AddProperty("oProp", "Empty") will be a string. Thisform.AddProperty("oProp", createobject("Empty")) will be an Empty object - a live object at that, which can be assigned properties, i.e. a full object of class Empty (sounds like a paradox, I know).
If you initialize it as a .null, I really don't know what type will it be - and VFP probably doesn't know either. I initialize a property to .null. if I plan to make it an object reference later, just as a matter of style, the .null. being some sort of intuitive value for "no object", just like "" means "no string".