[futurebasic] Re: [FB] Don't quit at Quit

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2016 : Group Archive : Group : All Groups

From: Eugen Rosu <eugen.rosu@...>
Date: Sun, 13 Nov 2016 15:29:21 +0200
Thank you, Bernie.
As simple as that...
Eugen

On 13 Nov 2016, at 14:50, Bernie <bernie.fblist@...> wrote:

> 
> Eugen wrote:
> 
>> 
>> I want to avoid / annihilate the result of the Quit command (or cmd-Q).
>> In other terms, after I change in my app, whenever I make a change in my app, an alest message appeares that asks me if I want to save, to cancel or don't change.
>> How can I cancel the quit command and to return to my app, without quit the app.
>> 
>> Ex:
>> '-------------------------------------------
>> LOCAL FN MyWindowHandler( nextHandler as EventHandlerCallRef, theEvent as EventRef, userData as pointer )
>> '~'1
>> CASE 2'Cancel saving file and don't quit the app --> here is the problem
> 
> Without seeing a runnable example, I wonder if this will do it?
> 
> 	gFBQuit = _false
> 
> 
> 
> 
> 
> 
>