Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating EXE
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01569072
Message ID:
01569077
Views:
49
>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

Nope,
thisform.Release() will not call QueryUnload()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform