Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating EXE
Message
 
To
22/03/2013 15:09:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01569072
Message ID:
01569073
Views:
61
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform