Lines show through instead of being covered by other printed objects

Category

Code Based - General

Question

I have printed lines on a page and then other objects over the top of them but the lines are showing through, which I don't want. Is there a way to solve this problem?

Solution

By default, Rave buffers lines until the end of each page so that it can optimize the output for faster printing. Turn this option off if you need to have lines printed before other objects on a page. You can do this using the NoBufferLine property:

Delphi Example:

with Sender as TBaseReport do begin
    NoBufferLine := true;
  end;

C++Builder Example:

TBaseReport* bp = dynamic_cast(Sender);

  bp->NoBufferLine = true;