Page 1 of 1

PB_Event_AppTerminate

Posted: Mon Sep 12, 2011 7:53 pm
by Polo
Hi,

It'd be nice to have this event, because on MacOS closing a window doesn't mean you actually exit the application.
On PB IDE when you close the window it closes PB and it simply is odd for Mac users.

Thanks

Re: PB_Event_AppTerminate

Posted: Mon Sep 12, 2011 11:49 pm
by freak
You will get a #PB_Event_Menu event with with EventMenu()=#PB_Menu_Quit in this case.

http://www.purebasic.com/documentation/menu/index.html

Re: PB_Event_AppTerminate

Posted: Tue Sep 13, 2011 7:36 am
by Polo
freak wrote:You will get a #PB_Event_Menu event with with EventMenu()=#PB_Menu_Quit in this case.

http://www.purebasic.com/documentation/menu/index.html
:oops:

Thanks, guess I was sleepy!!