Re: Help closing my vfp9 form
- From: supreme_good@xxxxxxxxx
- Date: 20 Apr 2007 06:46:07 -0700
On Apr 20, 9:38 am, supreme_g...@xxxxxxxxx wrote:
On Apr 20, 9:15 am, "Anders Altberg" <anders.altberg> wrote:
Has your CLEAR EVENTS been processed?
Is there possibly anywhere an outstanding hanging reference, that is a
variable or property that references theform.
The app won't close until that reference is killed and the reference count
is zero.
-Anders
<supreme_g...@xxxxxxxxx> wrote in message
news:1177072914.394751.296160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello all. I thank you all in advance for anyhelpwith this...
I have a vfp9formwhich was operating normally when the close [X]
button was pressed. Theformwould unload and execution would
stop...perfect. Yesterday, while debugging a seperate issue with a
view,myformsuddenly decided to stopclosing...no matter what I do.
I tried creatingmyown close button...calling everything from the
release method to the unload method....I've tried cancel commands,
quit commands....I've clear events and bupkis! I've set break points
in several areas and find that neither the release or unload events
fire when that button is closed and when I programmatically fire them
myself say in a button...they execute the code and then nothing! I
have found that once I have clicked the close [X] button it grays out
and only then can I close theformby typing "release all" inmy
command line.
Thanks for anyhelp!
Malcolm
Eureka! I feel rather foolish as I completely missed an object
reference I thought I had already commented out! Thanks for helping me
see the forest for the trees! ;)
Malcolm
Actually I have one more to throw your way....how am I supposed to
release these variables before the user clicks the close [X] if there
is no way to predict when a user will decide to try and close the
form. Not sure if my question makes sense but in laymans terms....if I
have to clear the object ref. before it will close and neither the
release or unload methods will execute until I do...how am I to
predict in advance that I need to clear my references? Am I just not
thinking this through logically?
Thanks again for the prompt response!
Malcolm
.
- Follow-Ups:
- Re: Help closing my vfp9 form
- From: supreme_good
- Re: Help closing my vfp9 form
- From: Stefan Wuebbe
- Re: Help closing my vfp9 form
- References:
- Help closing my vfp9 form
- From: supreme_good
- Re: Help closing my vfp9 form
- From: Anders Altberg
- Re: Help closing my vfp9 form
- From: supreme_good
- Help closing my vfp9 form
- Prev by Date: Re: Help closing my vfp9 form
- Next by Date: Re: Help closing my vfp9 form
- Previous by thread: Re: Help closing my vfp9 form
- Next by thread: Re: Help closing my vfp9 form
- Index(es):
Loading