David,
>I didn't know that the Objects object also had an Objects object. This method works for me both in VFP 6.0 and 7.0.
>Great suggestion!
Thanks, but if I were you, I'd rather use ASELOBJ(,1), because that way is surely the more 'official'. I don't know if you would run in any future problems again using my suggestion. But that decission is up to you!
Anyway, have fun with your builder :)
Armin
>
>I think I may turn my template form files in to classes as well. It's time to get with the times.
>
>
>>David,
>>
>>>I tried your suggestion of using the _VFP.Objects collection.
>>>I opened a form in design mode (MODI FORM) and entered these commands in the command window:
>>
>>I think John has provided a solution for you. Regarding the Objects collection, this works for me:
>>
>>
>>_VFP.Objects(1).Objects(1).Caption = "Banana"
>>
>>
>>will change the caption of a form that was opened with MODI FORM.
>>
>>Regards,
>>Armin