Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Abort
Message
 
To
02/12/2000 14:06:11
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00448510
Message ID:
00448527
Views:
14
Hi John -

I didn't see your initial question, so you may have already explained this....
Are you in development mode or not? Does it release from either (development or non development?)

Have you put a SET STEP ON in this method and traced thru your code to make sure it is taking the path that you think it is?
Can you use the debugger to see (after it runs thru this function) if there are any references? Is it possible that you have a dangling object reference?

>Thanks for all of the suggestions. However, after implementing all of the suggestions into my function ... the application will still not close. There are no forms open. I'm just sitting at the main screen with the menu active. Here is the Depart function with all of the additions.
>
>*------------------------------------------------------------------------------------------------------------------------------------------------------
>function Depart
>
>clear events
>deactivate window all
>release windows
>pop key all
>on shutdown
>
>with _screen
> do while .FormCount > 0
> .Forms(.FormCount).Release()
> enddo
>endwith
>
>if _VFP.StartMode = 0 && Development Mode
> set sysmenu to default
> set library to
> modify window screen
> =sys(3056) && Reread Registry and config.vfp settings
> else
> clear all
> close all
> quit
>endif
>
>cancel
>*------------------------------------------------------------------------------------------------------------------------------------------------------

HTH -
ellen whitney
EPS Software Corp
Previous
Reply
Map
View

Click here to load this message in the networking platform