Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form persists
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00423487
Message ID:
00423715
Views:
15
Hi James,
If you have any code in your form that creates a variable which references any object (control) on the form and that variable is not released prior to trying to destroy the form, then the form will not be released.
If the form is still visible, when oMover?? = .Null. then I would very much suspect that you have a persistant variable.
Hope this helps,
Houston.

>Jim,
>Thanks for your input. To answer your questions:
>1. I presume the form still exists because it is still on the screen.
>2. The actions I have tried to make it go away have all been in a commandbutton.click() on the form.
>3. I have called the release method of the form (THISFORM.Release()) in that same Click().
>4. I hear you about needing to release all references to the object: how do I do that? I have tried THISFORM.Release() and the "release oMoverExternals" back to back. The second gives an error message to the effect that "oMoverExternals is not an object." (I have tried it both PUBLIC and not.)
>
>Thanks again, Jim.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform