>>>>Ahh, ok. That's exactly the kind of thing that ReadMethod is meant for...
>>>
>>>Erik,
>>>
>>>Is it just me or does ReadMethod not work for DEFINE CLASS type classes? I always get an empty string, no matter what's in the class definition.
>>
>>How do you get an object reference at design time to a class defined with DEFINE CLASS? ReadMethod does not work on a running object, only an object open in the class or form designer.
>
>Really? It says it works at both design and runtime...
I just tested on a form in the designer, and you are correct... it works. I feel 99% sure that this did not use to work. It does NOT work in a compiled exe though, whether or not debug info is included.
Sorry for misleading you...
Can anyone with a copy of VFP 5.0 check this?
Erik Moore
Clientelligence