[Gambas-user] Closing Main form lets Timer keep going
    Rolf-Werner Eilert 
    rwe-sse at osnanet.de
       
    Tue Apr 19 11:06:12 CEST 2022
    
    
  
In the latest Gambas versions, I stumbled over a strange new thing:
Say you have a Timer running with e. g. 1 minute and you close the Main 
form, the Timer keeps going. You can see that in the IDE when running 
the program from there: although the form has gone, the program still 
runs and has to be stopped manually.
In Form_Close() I wrote
   Timer.Enabled = False
that solved the problem. But I guess it's not the way it's supposed to 
run...
Regards
Rolf
    
    
More information about the User
mailing list