Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem With Ending Pgm
Message
 
 
To
10/04/2014 14:32:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01598403
Message ID:
01598455
Views:
46
>I tried putting the CLEAR EVENTS before the THISFORM.RELEASE and the problem persists.
>I read somewhere that after executing the CLEAR EVENTS, program execution continues on the program line immediately
>following READ EVENTS. So I checked my MAIN.PRG where the READ EVENTS is and that is the last line in the program.
>Hmmmm. maybe I should do the THISFORM.RELEASE right after the READ EVENTS in the MAIN. PRG.

Put

thisform.Release()
CLEAR EVENTS

in the Exit button of your form

In the main program

after Read Events

add

ON SHUTDOWN

CLEAR ALL

QUIT
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform