I don't think that there's a way. The objects created with SCATTER NAME don't even have a name property, and don't have an AddProperty method. To create an object with CREATEOBJECT or ADDOBJECT, you have to specify a class, and these objects are not deerived from any class. Interesting though, they can be passed through the COM interface (like returned from a VFP COM object to an ASP).
>Just for interest, I've been playing with the classes created by..
>SCATTER NAME
>The object so created doesn't have a baseclass, class etc. Just the user defined properties. NICE.
>However the only way I can figure to create one of these beasties is via the SCATTER NAME approach. Is there any other way? Anyone?
>So I pass this classless class as a parameter to my "observer" class in the init event. The "observer" updates it's properties *quickly* and easily then from the class that it's observing (usually a form).
>
Erik Moore
Clientelligence