Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level Forms and Menus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00306891
Message ID:
00306899
Views:
22
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform