Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't CLEAR EVENTS
Message
From
21/10/1999 16:11:49
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00279593
Message ID:
00279598
Views:
12
In the click() of the close button, put the commands in this order:

CLEAR EVENTS
ThisForm.Release()

-or-

Have a CLEAR ALL in the main program right after READ EVENTS


>I have a form with a close button. Under the click method is:
>thisform.release
>
>and in the destroy event I have a CLEAR EVENTS
>
>which should return control back the the main (calling program) and exit the program. But it only closes the form but for some reason does not clear the READ EVENTS and therefore does not close my program. The form is CLOSEABLE but that does not work either.
>
>Any ideas? Thanks! Marvin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform