Print object if space left
Hi
I want to be able to print a picture(TfrxPictureView) on every page if there's room for that picture after all masterdata/childbands etc. have been printed. Also I want to vertical centre that picture in the free space. How do I do this?
Regards
Thomas
I want to be able to print a picture(TfrxPictureView) on every page if there's room for that picture after all masterdata/childbands etc. have been printed. Also I want to vertical centre that picture in the free space. How do I do this?
Regards
Thomas
Comments
in on after print event
get the engines.freespace value - pgfooter.height-1
use an unattached child band to contain the picture object
after determing the space remaining set desired props for picture and band
and the use engine.showband(childbandname);