Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New migrator for FPD to VFP
Message
De
15/10/1998 09:48:01
 
 
À
15/10/1998 02:06:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147002
Message ID:
00147121
Vues:
31
Cristobal,

Great idea about the variables. I will save in array if the variable already existed upon entry so that it doesn't get released in destroy.

It will be better to keep functions in the form. Where exactly in the SCX do I put (programmaticaly) the procedures so that they are visible from anywhere in the form? I tried the methods field of the form object, but it will not recognize it.

Definitely the UT is a great resource. Gracias.

Alex


>After trying 2 or 3 tricks, i´ve made this my standard for use of memory variables:
>1. Define them as public in the load event of the form
>2. Release them in the destroy event.
>
>This works fine to me.
>
>Hope it´s helpful to you!
>
>From an easy point of view, you could create a new method in the form for every procedure you have in fpd and copy the code. But.... I´m not really sure about this if you are planning a multi - tier app. Maybe trying to build a dll with the set of procedures could be better.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform