refreshing preview after pagecount changed
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
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
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.