Hello questionstoaskislot,
Welcome to the forum.
I think this is what you want:
uses
Unit2;
//...
//...
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.Show;
Hide;
end;
- Make sure you put the correct unit name on the uses clause
- Use Show command to call the form
- And don't forget to call Hide
You can download and try my test.zip.