procedure TForm2.test;
begin
  showmessage(form1.var1);
end;

解决方案 »

  1.   

    在需要引用的单元uses Form1的Unit;就可以使用了
      

  2.   

    在需要引用的单元uses Form1所在的单元;就可以使用了,如form1.xxx
      

  3.   

    如:
    Unit Unit1;
    interface
    uses
      Unit2;
    ...
    ...
    begin
      Form2.value...//对应于Unit2的form
    end;Unit Unit2
    ...
      

  4.   

    如:
    Unit Unit1;
    interface
    uses
      Unit2;
    ...
    ...
    begin
      Form2.value...//对应于Unit2的form
    end;Unit Unit2
    ...