Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QueryUnload problem w/ toolbar.
Message
De
02/04/2004 12:32:42
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
02/04/2004 11:59:40
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00891808
Message ID:
00891818
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Randy-

>I have code in QueryUnload of my form class that just prompts user if they want to close form, save info, etc. This works fine when I click on the X to close the form. I have a toolbar that I added a Close Form button to. In this close form button I use:
>
_screen.activeform.queryunload()
>This does everything in the QueryUnload method of the form but then returns back to the command button on the toolbar. How can I solve this problem and make calling the QueryUnload method of a form work the same as clicking the X? I know it's prob somethign simple but can't get it to work.

You are missing THISFORM.RELEASE, I believe.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform