Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New migrator for FPD to VFP
Message
De
15/10/1998 11:10:07
 
 
À
15/10/1998 10:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147002
Message ID:
00147148
Vues:
33
>Hi Garrett ---
>
>>>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.
>>
>>But what happens if you open two instances of the form? You'll lose your variables when you close one of them... I'd try using AddProperty (in 6: I don't remember if it's earlier) to add the memvars as form properties.
>
>AddProperty is VFP6 only but I'd agree that it's the only way to go.

Don't forget... Ken Levy has AddProp.fll on his web site. Your program could check to see if the version was 5.0 and if so, add the addprop library, if not, any call to addprop would use 6.0 built in function.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform