How to stop the timer lazarus / 13-General ---------------------------------------------------------------------- Guest · 2006-04-15 19:25 Hi at all, we're using Lazarus for school and have to create a little game for which I used the TTimer to check if there's a winner, but I really don't know how to stop this timer - when one player won the game, a window opened and shows the text: "Player A has won the game" - as i want it - but after a second it opens a second time, a third...do you have any suggestions how I could handle this?  :oops: ---------------------------------------------------------------------- matthijs · 2006-04-15 20:10 Code: [Select]Timer1.Enabled := False; should work. ---------------------------------------------------------------------- Anonymous · 2006-04-15 20:51 Jup, it works, i always had it after the message, now it's before the "showmessage" and works! Thanks a lot!