PrintPreview - BeginEdit issue...?

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

PrintPreview - BeginEdit issue...?

Postby Matija » April 28th, 2016, 3:20 pm

I'm not sure whether I'm missing something:

- using PrintPreview to create custom content report... using BeginDoc... NewPage when necessary...
- after creating all the content, I need to change first page of the document and add some dynamically created graph
- I use BeginEdit(1)... tried with BeginEdit(0),too.., neither returns true, but they update last page, not first one
- tried looping from 0 to TotalPages (however, TotalPages won't work (=1) during BeginDoc... when EndDoc is executed, it correctly shows TotalPage)

Why cannot I draw on first page?
How to draw on first page?! BeginEdit, EndEdit don't work properly, only last page is edited, but I need the first one!

(Of course, when document is single paged, everything looks fine)
Posts: 4
Joined: May 18th, 2005, 10:12 am

Return to DELPHI AREA Projects

Who is online

Users browsing this forum: Bing [Bot] and 3 guests