Dec 13, 2000 #1 jerold Programmer Aug 30, 2000 52 PH Please help me make the close button on my compiled/bulit executable application work. When I click on it, it displays Cannot quit fox pro... thank you
Please help me make the close button on my compiled/bulit executable application work. When I click on it, it displays Cannot quit fox pro... thank you
Dec 13, 2000 #2 edrest Programmer Apr 22, 2000 73 US Is there a clear events anywhere in there? Tom Gahagan edrest@alltel.net REST If you get a chance to sit out or dance... I hope you dance. L Wommack Upvote 0 Downvote
Is there a clear events anywhere in there? Tom Gahagan edrest@alltel.net REST If you get a chance to sit out or dance... I hope you dance. L Wommack
Dec 13, 2000 #3 JimmyK Programmer Sep 8, 2000 142 VN Hey, Now try this ON SHUTDOWN do MyExit && do anything you want proc MyExit clea event clea all quit Hope this helps Jimmy Upvote 0 Downvote
Hey, Now try this ON SHUTDOWN do MyExit && do anything you want proc MyExit clea event clea all quit Hope this helps Jimmy
Dec 14, 2000 #4 BlindPete Programmer Jul 5, 2000 711 US Sometimes ON SHUTDOWN can cause a loop of sorts so add one more line to that procedure... proc MyExit ON SHUTDOWN && Clears the event trap clea event clea all quit You might also consider adding this line to your main.prg ON KEY LABEL ALT+F4 DO myExit -Pete Upvote 0 Downvote
Sometimes ON SHUTDOWN can cause a loop of sorts so add one more line to that procedure... proc MyExit ON SHUTDOWN && Clears the event trap clea event clea all quit You might also consider adding this line to your main.prg ON KEY LABEL ALT+F4 DO myExit -Pete