Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms will not release
Message
 
To
07/09/1998 09:11:55
Herb Ellerbock
Customized Computer Systems
Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00133771
Message ID:
00133844
Views:
15
Herb,

Most often, your form won't release because it cannot destroy one of its owned objects. This happens when a contained object instantiates an object at runtime. In that case you have to make sure that you release the new object it _before_ or in the form's release method().

That, at least, is what does it for me, when a form won't release.

Regards,

Marc



>Hello All,
>
>I am having trouble with forms that will not release.
>
>I have made sure that a grid does not have focus and have LINKED the forms to an object reference. When the object reference is released the window definition remains. Each time the form is re-started from the menu a additional copy of the window definition remains.
>
>This phenomenum is not consistent. If I open a form and close it, everything is normal. However if I open a form and delete a record from the underlying table the form release fails.
>
>I would really appreciate if someone can throw some light on this.
>
>Regards,
>
>Herb Ellerbock

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform