Hi,
I have a masterdata to print but it's for the ending of the document, it's the detail of the VAT (HeadTVA, DataTVA and EndTVA).
How can I on the bottom of the page print it ?
See pictures, I want my bloc at the bottom of the document
Nobody have idea ?
Just a spontan idea....
Whats happens if You put it in the Page Footer, above your ['DocConst...]. Then I think it will be as you wishes..
It's not possible.
For the moment, I calculated the height of each component for having the good result.
Hi. How do you fix that?
How do you fix?
This is my calcul :
procedure EndLignesOnBeforePrint(Sender: TfrxComponent);
begin
if Engine.FreeSpace >= EndLignes.Height + HeadTVA.Height + (DataTVA.Height * DataTVA.DataSet.RecordCount) + EndTVA.Height + PageFooter1.Height + 1 then
Engine.CurY := Engine.PageHeight - EndLignes.Height - HeadTVA.Height - (DataTVA.Height * DataTVA.DataSet.RecordCount) - EndTVA.Height - PageFooter1.Height - 1;
end
else
Engine.NewPage;
end;
Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.
Comments
See pictures, I want my bloc at the bottom of the document
Nobody have idea ?
Just a spontan idea....
Whats happens if You put it in the Page Footer, above your ['DocConst...]. Then I think it will be as you wishes..
It's not possible.
For the moment, I calculated the height of each component for having the good result.
Hi. How do you fix that?
How do you fix?
This is my calcul :
procedure EndLignesOnBeforePrint(Sender: TfrxComponent);
begin
if Engine.FreeSpace >= EndLignes.Height + HeadTVA.Height + (DataTVA.Height * DataTVA.DataSet.RecordCount) + EndTVA.Height + PageFooter1.Height + 1 then
begin
Engine.CurY := Engine.PageHeight - EndLignes.Height - HeadTVA.Height - (DataTVA.Height * DataTVA.DataSet.RecordCount) - EndTVA.Height - PageFooter1.Height - 1;
end
else
begin
Engine.NewPage;
Engine.CurY := Engine.PageHeight - EndLignes.Height - HeadTVA.Height - (DataTVA.Height * DataTVA.DataSet.RecordCount) - EndTVA.Height - PageFooter1.Height - 1;
end;
end;