BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Q.Report Image

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Serra
Guest





PostPosted: Fri Mar 02, 2007 3:40 pm    Post subject: Q.Report Image Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.