おっと、消し忘れ・・・
procedure TCustomplPrev.Print;
{---- 略 ------}
Printer.BeginDoc;
if Printer.Printing then //←条件追加
begin
FPrinting := True;
Screen.Cursor := FCursor;
try
for i := FromPage to ToPage do
begin
ScaleInitialize(Printer.Canvas,False);
{---- 略 ------}
end;
finally
SetMapMode(Printer.Canvas.Handle, MM_TEXT);
Printer.EndDoc;
Application.ProcessMessages;
FPrinting := False;
Screen.Cursor := SaveCursor;
end;
end;
{----- 略 ---------}
end;
相変わらず、おっちょこちょいで未だに・・・"(-""-)"
|