Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM......NAME...LINKED
Message
From
04/06/1998 23:03:21
 
 
To
28/05/1998 16:30:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102548
Message ID:
00104992
Views:
34
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform