Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: xinyiman on December 13, 2016, 11:43:57 pm

Title: LazReport and fixed position
Post by: xinyiman on December 13, 2016, 11:43:57 pm
Hello guys, who tells me how to say the footer master has a fixed location, such as at the bottom. Even if there is white space.

Then another thing: how do I say that the master data must have a defined space and do not exceed it !?
Title: Re: LazReport and fixed position
Post by: xinyiman on December 14, 2016, 12:15:50 pm
To understand this better. If you look at the invoice template (link below) you will see that has a fixed space for the insertion of the body! After there is designed the footer. How do I tell LazReport which must take only that length portion of the page for the master data?

Thank you

http://www.duplicatedesign.co.uk/images/Invoice2A4.jpg (http://www.duplicatedesign.co.uk/images/Invoice2A4.jpg)
Title: Re: LazReport and fixed position
Post by: LuizAmérico on December 14, 2016, 04:39:39 pm
Quote
how do I say that the master data must have a defined space and do not exceed it !?

If i understand right, unset Stretched flag (right click mouse)
Title: Re: LazReport and fixed position
Post by: Graeme on December 15, 2016, 01:56:26 pm
Split the "invoice" report design into multiple bands. The footer is a page footer band. The top part "your details here" and "invoice' is a report header. The Date, Inv No, Inv address can be a page header, or if you don't want it on each page, make it a child band of report header. The Qty, Product Code etc could be a group header. The actual "details" will be a usual detail band and will fill the remaining space of the page. All the bands, except "details" will have set band heights (don't stretch vertically).
TinyPortal © 2005-2018