Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New migrator for FPD to VFP
Message
From
15/10/1998 09:48:01
 
 
To
15/10/1998 02:06:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147002
Message ID:
00147121
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform