Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New migrator for FPD to VFP
Message
From
15/10/1998 11:10:07
 
 
To
15/10/1998 10:54:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147002
Message ID:
00147148
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform