Kurt:
The object that was hanging for me was a combobox.
On my grids I issue:
    thisform.grid1.recordsourcetype = 1  &&alias
    thisform.grid1.recordsource = ""  
    select GridTable
     use
   thisform.release()
Regards,

Jack
________________________________________
From: [email protected] [[email protected]] On Behalf Of 
Kurt Wendt [[email protected]]
Sent: Friday, July 23, 2010 12:37 PM
To: [email protected]
Subject: RE: VFP is Hanging on Form Exit - and Driving Me NUTS!

I just tried that - but, it didn't seem to help. Maybe I'm not doing it
quite right.

I have 2 Grids, in Page 2 & 3 of a PageFrame. Each grid is tied to a
DBF. Here is the code I tried to use to disconnect from the Data upon
hitting QUIT:
ThisForm.Pageframe1.Page2.grdTimelines.RecordSource = ""

-K-

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Jack Skelley
Sent: Friday, July 23, 2010 12:08 PM

Kurt:
To you have an object that has its controlsource a table?
If so set the controlsource to null then release the form.
In one of my forms hung exactly what you are describing and when I
removed the controlsource the form closed as expected.
Regards,

Jack Skelley

________________________________________
From: [email protected] [[email protected]] On
Behalf Of Kurt Wendt [[email protected]]
Sent: Friday, July 23, 2010 11:33 AM

OK - this problem started a couple of weeks ago. Its happening on this
small application I have been been working on for about a month now -
which I recently added the Spell Checker to (after posting to the list
here).

Anyway - about a 1 or 2 weeks ago - this strange thing started
happening. Its most noticeable when I am doing testing - and I just run
the Form - as opposed to Running the compiled EXE.

When I hit the Quit button on my Form - the Form immediately goes away -
but, then everything pauses and VFP hangs for about - 30 seconds. Now -
that's not a long time - but, its PAINFUL when I keep trying to test
things - but, get held up at the end of each Test - waiting for VFP to
respond and "came back".

I suspect its something that I added to my Form some weeks ago. But, I'm
just not sure what it is...

Has anyone run into this kind of problem before? Its really strange -
and although its not a Show-Stopper (and the reason I just tried dealing
with it for the time being) - its getting to Drive Me Nuts about now...

Thanks,
 -K-
Developer
Mr. Software of East Coast, Inc.
Division of Waitex Information System, Inc.

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b66038390bf9c...@drdsrv03.drdad.thenewarkarena.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to