M
mymy
Unregistered / Unconfirmed
GUEST, unregistred user!
主要的代码如下:
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.QRMemo1.Lines:=Memo1.Lines ;
Form2.ShowModal;
SetFocus;
Form2.Free;
end;
procedure TForm2.FormShow(Sender: TObject);
begin
QuickRep1.Preview;
end;
但每次关闭打印预览后,form2都会出现,请问怎样才能让form2不出现
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.QRMemo1.Lines:=Memo1.Lines ;
Form2.ShowModal;
SetFocus;
Form2.Free;
end;
procedure TForm2.FormShow(Sender: TObject);
begin
QuickRep1.Preview;
end;
但每次关闭打印预览后,form2都会出现,请问怎样才能让form2不出现