Posts by Davi • 13 points
1 post
-
1
votes2
answers46
viewsQ: I’m having trouble closing a form( in the main form case) when I open a second form
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:…