 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Serra Guest
|
Posted: Fri Mar 02, 2007 3:40 pm Post subject: Q.Report Image |
|
|
D7 , ( Standart Q.Rep in D7 )
procedure TKartlar.SpeedButton5Click(Sender: TObject);
var
Rec: TSearchRec;
begin
if FindFirst(IniDir+'Drawing\'+dm.PartsPartNo.Value+'.*', faAnyFile,Rec) = 0
then
begin
try
QrImage1.Picture.LoadFromFile(IniDir+'Drawing\'+Rec.Name);
QrLabel5.Caption:=dm.PartsPartNo.Value;
QrImage1.Picture.LoadFromFile(IniDir+'Drawing\'+Rec.Name);
MyQuickRep:=DrawForm.QuickRep2;
QuickRep2.Preview;
finally
FindClose(Rec);
end;
end;
else
QrImage1.Picture:=nil;
end;
procedure TDrawForm.QuickRep2Preview(Sender: TObject);
begin
QuickRep2.Zoom:=200;
QuickRep2.Prepare;
PreviewForm.QrPreview1.QRPrinter:= QuickRep2.QRPrinter;
PreviewForm.ShowModal;
PreviewForm.QrPreview1.QRPrinter:=nil;
end;
when i click Button5 i can see the JPEG Image ( it is a drawing )
with no problem but when i close my PreviewForm and then click on button 5
i cant see the whole image ( i can see something like half of the image ) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|