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 

opening pdf file when click on a button

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Darius
Guest





PostPosted: Tue Aug 08, 2006 7:02 pm    Post subject: opening pdf file when click on a button Reply with quote



First time try such a thing.
I dropped a Acropdf on a form and set its "src" to : C:/test.pdf
Run the application I have a form with a white box on it shows part of the
codes of its unit (the form unit in design time). What am I doing wrong?
Back to top
Rick
Guest





PostPosted: Wed Aug 09, 2006 5:36 pm    Post subject: Re: opening pdf file when click on a button Reply with quote



I have seen this "ghosting" in this control before when the pdf is corrupt
in some way. The image you are seeing in the control is just the background
image of your code that is never being refreshed.

The AcroPDF control is not really very good in my opinion. If you can, it
would be better to use a TWebBrowser control and open your PDF in that.

Anyway, check that you have a valid PDF and that it opens outside the
control in the regular Acrobat Reader.

Rick


"Darius" <my_vision2 (AT) yahoo (DOT) com> wrote in message
news:44d89969 (AT) newsgroups (DOT) borland.com...
Quote:
First time try such a thing.
I dropped a Acropdf on a form and set its "src" to : C:/test.pdf
Run the application I have a form with a white box on it shows part of the
codes of its unit (the form unit in design time). What am I doing wrong?

Back to top
Andrew Fiddian-Green
Guest





PostPosted: Mon Aug 14, 2006 6:42 pm    Post subject: Re: opening pdf file when click on a button Reply with quote



Quote:
C:/test.pdf

C:\test.pdf (??)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation 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.