General information
Category:
Object Oriented Programming
That's what I thought. But it's nice having a really cleanskin class, and typically the sort of thing my "observer" is looking at are tied to field values anyway.
>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).
>>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only