Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3357
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: Fri Apr 26 15:18:59 CEST 2024

Total time taken to generate the page: 0.01663 seconds