Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing issues with TAcroPDF

Status
Not open for further replies.

bobbie100

Programmer
Aug 29, 2003
64
GB
I'm trying to use the ActiveX PDF component that comes with Delphi 7. All works fine, EXCEPT the area used by the component to display the document on the form doesn't change as the form size changes. The component reports the correct changed size for both the width/height and clientwidth/clientheight, but just pads out any extra space with solid white.

The component has Align = alClient and is contained inside a TPanel that has Align = alClient (there is another TPanel with Align = alBottom at the bottom of the page that contains a close button).

I've tried actively setting the height/width and clientheight/width at the OnResize event, but it makes no difference.

I'm running Delphi 7 under Windows XP.

Any ideas on how to change the active area of the AcroPDF component at run time.

Bob "To err is human, but it takes a programmer to really screw things up!"
 
Hi,

I have the same problem with resizing TAcroPDF. Is there any known solution?

Thanks.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top