델파이 3.0을 사용하는 초보자 입니다.
TQRBand -> (bandtype) rbTitle
TQRBand -> (bandtype) rbColumnHeader
TQRBand -> (bandtype) rbDetail
을 설정하여 마지막부분에서(rbDetail) QRRichText1를 추가한후
procedure TForm1.QuickRep1BeforePrint(Sender: TQuickRep;
var PrintReport: Boolean);
begin
AssignFile(F, YHFullName );
Reset(F);
try
Size := FileSize( F );
Buf := AllocMem( Size+10 );
try
BlockRead( F, Buf^, Size );
QRRichText1.Lines.SetText( Buf );
QRRichText1.Show;
finally
FreeMem( Buf );
end;
finally
CloseFile( F );
end;
end;
처리하였습니다.
preview도 안보이고, 보인다하여도 다음 page로 내용이 않넘어갑니다.
도와주세요....^_^
쌩초보..