Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiated form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00185559
Message ID:
00185571
Vues:
17
>We have a complicated instantiated form in our app which instantiates per a datadictionary. In order to minimize long load times, we plan to load it on app startup and then hide/show as needed. There are actually two versions of this form that can be active at one time. We change the form name in the load method to differentiate it. When we subsequently refer to the form in the hide/show commands, it is the actual name of the scx that is required not the name property. Is there a way to change the name of the object at runtime?
>
>We would like to differentiate the two form objects as separate objects, but would like to keep the same scx so that we do not have to maintain two separate forms. Does anyone have a good solution to this?
>
>Thanks much for any suggestions you may have.
>-Nancy

You can start this form as
DO FORM MyForm NAME oApp.myform1 LINKED
and do the same second time with oApp.myform2
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform