with 문을 다시 한번 보세여... --;
"Copies" 라는 프로퍼티는 QuickReport.PrinterSettings.Copies 입니다.
그래서 아래와 같이 with 문에 두개의 객체를 지정한거죠...
델3.0 두 4.0 과 동일합니다.
도움이 되시길...
with QuckReport.Page, QuckReport.PrinterSettings do
begin
TopMargin := 100;
LeftMargin := 50;
BottomMargin := 200;
FirstPage := Round(spnFromPrt.Value);
LastPage := Round(spnToPrt.Value);
if FirstPage > LastPage then
LastPage := 9999;
Copies := Round(spnCount.Value);
end;
- 찬 -
|