Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem getting application to close
Message
De
26/02/2003 11:34:59
 
 
À
26/02/2003 11:27:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00758159
Message ID:
00758164
Vues:
26
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform