Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem getting application to close
Message
From
26/02/2003 11:34:59
 
 
To
26/02/2003 11:27:28
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00758159
Message ID:
00758164
Views:
19
Alan, the CLEAR EVENTS is leaving a reference to it. If the form is modal then try this:
do form combmain   && if this from is modal

clear events
and in your Quit button click method have only ThisForm.Release


>I have a very simple application that I can not get to close. The main program simply contains:
>
>do form combmain (this from is modal)
>read events
>
>The combmain form has several buttons, one of which is labeled Quit. The click event on the Quit button is:
>
>clear events
>thisform.release
>
>This click event will close the form, but the main program is apparently still running. If I click program on the menu, the cancel item is available and it will cancel the program and the cammand window returns.
>
>What am I missing here?
>
>Alan Maul
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform