Hi!

 

This is a very newby question, but you have to understand I'm a Linux c++
(console) developer, not familiar with Delphi.

I could install Lazarus, tryed a few examples, and now I'm trying to call a
form from another form. So I designed a form (Form1) with a button and a
second form, but it starts on a diferent unit or something. I want to make
the button on form1 call form2, but it seems this button does not know form2
exist. The statement I used was something like

 

procedure TForm1.Button1Click(Sender: TObject);

begin

  Form1.Hide;

  Form2.Show;

end;

 

This does not work J

 

Can someone tell me where to start reading?? 

 

Best regards  

Reply via email to