Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top-Level Forms and Menus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00306891
Message ID:
00306899
Vues:
21
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform