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?