Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless Form - Flashes and Closes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00427825
Message ID:
00427962
Views:
16
>>Because of the LINKED - once the variable used by NAME goes out of scope (at then end of the method that calls the form, I'm guessing), the form is released.
>>Use a form property for the NAME instead - e.g.
>>DO FORM xx NAME this.oOtherForm LINKED
>>
>>You still may need to make sure you clean up the object reference in the calling form's Destroy().
>
>So How do i reference this object. I was looking in the locals window and didn't see a reference to the name that i named it.

How did you name it?
If it's a form property, then it won't show up in the locals window.
Does any other process need this form except the form that called it? If so, you need to use a PUBLIC variable instead of a form property.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform