refreshing preview after pagecount changed

edited 1:31AM in FastReport 4.0
Hi,
I set TfrxChild.StartNewPage := True on the TfrxReport.onClickObject event while viewing the report in preview.
Closing the Preview and reopening it works fine but how do i refresh the preview without closing it?
frxReport.PrepareReport, frxPreview.RefreshPreview and some other tests all ended up in misterious errors.

kind regards,
eggface

Comments

  • gpigpi
    edited 1:31AM
    Attach small demo project with problem
  • edited 1:31AM
    gpi wrote: »
    Attach small demo project with problem

    While preparing a demo project I found the problem.
    I changed the font.color of the frxMemoView I clicked on in the preview and set modified := true in the onClickObject Method.
    Without setting modified to true everything works fine.

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.