Good morning. I have a timer running on a form that calls several others. When this form opens another the timer should be stopped and when the form that was opened is closed the timer must be enabled again. However, I can only do this in just one form. Is there any way to do this? Call the onclose of the forms closed directly in the form that opens the others? I'm using Delphi 4.
I thought of putting it this way, but I do not know where to put this code so that it runs at all times.
if Assigned(TForm1) then
//Criado
else
//Não criado
Would another TTimer object be needed?