Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Out of bounds

edited August 2002 in General
Hi there,

I'm still deep into dynamical repositioning of components depending on the
paper size selected in the print dialog. I can now reposition them but
there's still a problem:
All my reports are in A4. When the user now selects A3 as paper size in the
print dialog, the paper size ist still set to A4 bounds while in
OnPrintDialogClose. Means, the components that should be placed at the right
border still lie somewhere in the middle because it would be out of bounds.
Furthermore OnStartFirstPass, OnStartPage and so on are only called once
when the first print preview is generated but not another time when the user
clicks OK in the print dialog. I do not know when (i.e. which event) the
paper size is already updated so that I can reposition my components without
getting out of bounds.
Or is there a way to manually "reset" the preview so that the report is
recalculated based on the current page settings?

regards

Andreas Kr?gersen

Comments

This discussion has been closed.