P
pchddcat
Unregistered / Unconfirmed
GUEST, unregistred user!
//对PASCAL语句后面大栝号的参数不太明白,不明白作用,不明白该加那些参数
不是不明白这两句,是不明白语法写在尾巴的参数的作用的通常写法
procedure TRVPrint.Print(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);
begin
rv.FOnPrinting := FOnPrinting;
rv.PrintPages(firstPgNo, lastPgNo, Title, Copies, Collate);
end;
不是不明白这两句,是不明白语法写在尾巴的参数的作用的通常写法
procedure TRVPrint.Print(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);
begin
rv.FOnPrinting := FOnPrinting;
rv.PrintPages(firstPgNo, lastPgNo, Title, Copies, Collate);
end;