Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identify a form with multiple instances
Message
De
16/07/1998 22:28:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00118430
Message ID:
00118434
Vues:
22
>>I'm building a new form manager.
>>If I fire up a form multiple times, what is unique about each instance that gives me a "handle" to each one? The form.name isn't unique is it?
>
>Yes, that's why there is that NAME varname LINKED option when issuing DO FORM for handling purposes. If varname is out of scope the form releases.

Let's say I fire up a form from the timer event of a timer. I can't use NAME varname LINKED because varname will go out of scope straight away. I want to use an array in a form manager class to store the form reference along with other stuff - so how do I keep the form alive and keep a unique reference to it?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform