[SOLVED] Prevent program from exiting

Post your Gambas programming questions here.
Post Reply
User avatar
sadams54
Posts: 143
Joined: Monday 9th July 2018 3:43am
Contact:

[SOLVED] Prevent program from exiting

Post by sadams54 »

I know I saw something about this but can't find it..

Is there a way to catch and stop your project from ending including if they hit the big X?

this needs to be done inside the program not external.
Last edited by sadams54 on Wednesday 11th October 2023 6:21pm, edited 1 time in total.
User avatar
thatbruce
Posts: 168
Joined: Saturday 4th September 2021 11:29pm

Re: Prevent program from exiting

Post by thatbruce »

(yes, its been a long time since that was spoken about)

 in the Form_Close event handler
  Stop Event
End


works with QT5
Have you ever noticed that software is never advertised using the adjective "spreadable".
User avatar
sadams54
Posts: 143
Joined: Monday 9th July 2018 3:43am
Contact:

Re: Prevent program from exiting

Post by sadams54 »

Thank you, that was what I was looking for.
Post Reply