Some changes for TPrintPreview?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Some changes for TPrintPreview?

Postby sbussinger » July 2nd, 2004, 9:02 pm

I just grabbed a copy of TPrintPreview and you've done a very nice job with it!

I added a few special features I needed for my application and wanted to offer them to you if you want to include them in the standard component.

The first adds a snap mode to the TThumbnailPreview component so that the width/height of the control snaps to a "nice" size. In other words, it squeezes out unnecessary wasted space from the control based on the current sizes of the thumbnails.

The second exposes the caption of the TThumbnail's. In my case, the pages aren't simple page numbers but need a caption string assigned to them. This gives you a way to assign the label caption of each individual page in the TThumbnailPreview.

Let me know if you'd like the code and how to get it to you. Thanks again for a very nice component set.
sbussinger
Active Member
Active Member
 
Posts: 10
Joined: July 2nd, 2004, 7:55 pm

Postby Johnny_Bit » July 4th, 2004, 10:33 am

well this changes seems to be usefull... personally i think, that it should be included in print preview, ofcourse with some further improvements for page header/footer (currently i have to draw it for each page separatelly, but i want to somehow automatize it)
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 37 guests

cron