1
I’ve tried that already:
procedure TForm1.btnYesClick(Sender: TObject);
begin
Form4:=TForm4.Create(Application);
Form4.ShowModal;
Form1.Hide;
end;
And this tbm:
procedure TForm1.btnYesClick(Sender: TObject);
begin
Form4:=TForm4.Create(Application);
Form4.ShowModal;
Form1.Close;
end;
But nothing works, I’ve even tried to use a trial.
Form1.Close; already closes the form what the same problem, be more specific.
– Edu Mendonça
the problem is that it is not closing the way it had, it only creates the form 4 but does not close the Form1
– Davi