Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating EXE
Message
 
À
22/03/2013 15:09:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01569072
Message ID:
01569073
Vues:
60
Aren't you creating an infinite loop? thisform.release() from click of the button will call queryunload which in turn will (unnecessary) call the button's click.



>There is a command button (cmdExit) with the following
>CLEAR EVENTS
>thisform.Release
>
>The QueryUnload event has
>thisform.cmdExit.Click()
>
>When I click on cmdExit the form disappears but the main VFP window stays active. I don't get the "Main Form Done" messagebox and trying to close the main VFP window gets the "Cannot Quit VFP" message.
>
>What have I missed????
>
>Thanks to all............Rich
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform