Engine.CurX before new page is printed

I am modifying the value of Engine.CurX when printing the records of a band associated with a DataSet, the modifications are made in the event:

procedure MasterData2OnBeforePrint (Sender: TfrxComponent);

Example from the official manual.

Everything works correctly before a new page is generated, when the new page is generated, the Engine.CurX is set to 0 by default and the modifications of the band event are not considered and, regardless of the value has been defined in the band event, the new record is printed to the left edge (Emgine.CurX = 0).

How would it be possible to get the new page to start in the position (Engine.CurX) indicated in the band event?

Leave a Comment

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.