Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QueryUnload problem w/ toolbar.
Message
From
02/04/2004 12:57:43
Randy Riegel
Zimish Contracting
Ohio, United States
 
 
To
02/04/2004 12:32:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00891808
Message ID:
00891827
Views:
21
That was it. Thanks for your help.

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform