| View previous topic :: View next topic |
| Author |
Message |
Darius Guest
|
Posted: Tue Aug 08, 2006 7:02 pm Post subject: opening pdf file when click on a button |
|
|
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
|
Posted: Wed Aug 09, 2006 5:36 pm Post subject: Re: opening pdf file when click on a button |
|
|
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
|
Posted: Mon Aug 14, 2006 6:42 pm Post subject: Re: opening pdf file when click on a button |
|
|
C:\test.pdf (??) |
|
| Back to top |
|
 |
|