Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identify a form with multiple instances
Message
From
16/07/1998 22:28:56
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00118430
Message ID:
00118434
Views:
23
>>I'm building a new form manager.
>>If I fire up a form multiple times, what is unique about each instance that gives me a "handle" to each one? The form.name isn't unique is it?
>
>Yes, that's why there is that NAME varname LINKED option when issuing DO FORM for handling purposes. If varname is out of scope the form releases.

Let's say I fire up a form from the timer event of a timer. I can't use NAME varname LINKED because varname will go out of scope straight away. I want to use an array in a form manager class to store the form reference along with other stuff - so how do I keep the form alive and keep a unique reference to it?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform