Re: How to kill a form



On Wed, 18 Jul 2007 14:00:58 -0700, Ook <zootal@xxxxxxxxx> wrote:

I have a form with nested page frames, tons of code, etc. When I
thisform.release, nothing happens. I have verified that there are no
public variables hanging around, all objects added to the form are
removed, all open tables are closed. AFAICT, I have properly cleaned
up everything that should need to be cleaned. Display Memory/Status
does not show anything that should stop the form from closing. What
else would stop a form from closing?

One thing I wish VFP had was a KillFormNowNoMatterWhatDammIt!()
function :)

Most likely you have a reference somewhere (maybe in a form property
or in a property in some object on the form) to a control on the form.
The form won't release if there are extra references to any of its
children.
.



Relevant Pages

  • Re: How to kill a form
    ... public variables hanging around, all objects added to the form are ... does not show anything that should stop the form from closing. ... The form won't release if there are extra references to any of its ...
    (microsoft.public.fox.programmer.exchange)
  • How to kill a form
    ... I have a form with nested page frames, tons of code, etc. ... public variables hanging around, all objects added to the form are ... does not show anything that should stop the form from closing. ...
    (microsoft.public.fox.programmer.exchange)
  • How to kill a form
    ... I have a form with nested page frames, tons of code, etc. ... public variables hanging around, all objects added to the form are ... does not show anything that should stop the form from closing. ...
    (microsoft.public.fox.programmer.exchange)

Loading