U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » WhenAction() -> ProcessEvents() -> WhenAction() -> hang, crash :-) (I'm probably stretching reentrancy of the GUI callbacks too far)
Re: WhenAction() -> ProcessEvents() -> WhenAction() -> hang, crash :-) [message #52836 is a reply to message #52835] Sun, 08 December 2019 16:22 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3461
Registered: August 2008
Senior Veteran
Dear Frank

I would try not to use ProcessEvents but for projects to be used "at home" or in beta.
If you have slow jobs, it is may be better to use threads.
This way the "Go" button would be just a starter, and after that it would be good to disable it, or to change its behaviour to a "Stop".
You can imagine you are doing like a sound player, with play and stop keys.

Best regards
Iñaki


Best regards
Iñaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved] Register a callback on "when window resized" ?
Next Topic: CryptoCurrency wallets
Goto Forum:
  


Current Time: Sun Aug 30 14:59:32 GMT+2 2026

Total time taken to generate the page: 0.00619 seconds