Irv
Thank you for the ideas. All of the contributions to this thread have been helpful.
Regards,
Carmen
>
Another method, in addition to all the great ideas listed, is to create a Global Application object and wrap all forms within it. This object can be a Container, Custom, etc. and when a Form is launched it is assocated with a Property of the Global object and given a name as in:
>
>
>(Main.prg snippet...)
>oGlobal = CreateObject("GlobalApp")
>oGlobal.AddProperty("MainForm","")
>DO FORM TARatesCalc NAME oGlobal.MainForm LINKED
>READ EVENTS
>
>
>Throughout the program this Form will be known by its Property name.
>
>-Irv.
>
>>Is there a way to access the value of a property on a form when a child form is launched? I thought you could access the value of any property by prefacing that property with the name of the form. When I try that, I receive an alias not found error.
>>
>>Thanks,
>>Carmen