PB_Event_AppTerminate

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

PB_Event_AppTerminate

Post 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
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PB_Event_AppTerminate

Post 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
quidquid Latine dictum sit altum videtur
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PB_Event_AppTerminate

Post 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!!
Post Reply