Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement