Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem exiting program
Message
De
02/12/2004 09:36:06
Vernon Chambers
New York City Transit
New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem exiting program
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00966368
Message ID:
00966368
Vues:
48
Hello All,

I've a problem which probably requires a very simple solution. I've a form with the following code attached to an exit button:

LOCAL nResponse

nResponse=MESSAGEBOX('Do you want to quit this application?',4+32,'Confirm action')
IF nResponse=6
CLEAR EVENTS
ENDIF
THISFORM.Release
RETURN

In my MAIN.prg I have;

if blah()
DO myform
READ EVENTS
ELSE
* DISPLAY ERROR MESSAGE
ENDIF


Why doesn't this properly work? Executable doesn't work either. Execution of 'blah()' works fine, however the form doesn't load.

TIA,

Vernon
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform