Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM......NAME...LINKED
Message
De
04/06/1998 23:03:21
 
 
À
28/05/1998 16:30:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00102548
Message ID:
00104992
Vues:
33
Sorry I couldn't help you more, maybe my example was incorrect, but what we do is to build a 'linked' variable for each form, in a common procedure library routine that puts a shell around 'DO FORM'. We build a name based upon the form name, for example for the form named 'Customer', we would build a memvar called 'goCustomer...' ( the ... indicates a little more stuff we add to clarify multiple use, etc. ). When we are done with the form, we can eliminate it by goCustomer.Release(), and we look for and release the m.goCustomer... in the Destroy() event of the form. Maybe I did not communicate these details correctly, and I am not trying to win converts, I only know that the consistancy of always having linked variables for every form allowed us to migrate legacy code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform