//对PASCAL语句后面大栝号的参数不太明白,不明白作用,不明白该加那些参数
不是不明白这两句,是不明白语法写在尾巴的参数的作用的通常写法
procedure TRVPrint.Print(Title: String; Copies: Integer; Collate: Boolean);//这个(Title: String; Copies: Integer; Collate: Boolean);begin
  rv.FOnPrinting := FOnPrinting;
  rv.Print(Title, Copies, Collate);
end;procedure TRVPrint.PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
                              Copies: Integer; Collate: Boolean);//这个firstPgNo, lastPgNo: Integer; Title: String;
                              Copies: Integer; Collate: Boolean)
begin
  rv.FOnPrinting := FOnPrinting;
  rv.PrintPages(firstPgNo, lastPgNo, Title, Copies, Collate);
end;

解决方案 »

  1.   

    procedure TRVPrint.PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
                                  Copies: Integer; Collate: Boolean);//这个firstPgNo, lastPgNo: Integer; Title: String;
                                  Copies: Integer; Collate: Boolean)
    beginend;这是个什么东西,语法都有问题,我搞delphi这么多年了,从没有看到写成这样的过程。楼主兄弟,你的过程问题大阿。