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:
00185573
Vues:
12
>>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
Thanks much. Posing the question made the answer clear to me. It works fine.
-Nancy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform