>Hi Bill,
>
>>I usually store an object reference to the form in a property of my application object and reference it from there. E.g:
>>
>>oApp.MyTopLevelForm. ...
>
>That works, if the person is *using* an application object (g). They're not. I guess I should have been more specific -- this is a small application, with only the one form, instantiated from a control PRG that sets up the environment and calls the top-level form.
>
>I tend to use my framework for everything, which has an application object, and I also do it the way you suggest...
>
>Thanks,
Then how about creating a PRIVATE variable in the main PRG to hold the form object reference that will persist until you are ready to release it?
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.