TfrxPreview.setPosition

edited 8:41PM in FastReport 4.0
Hi,
I have a frxPreview placed on a Delphi-form which is pretty small compared to the pagesize(height) of my report.
Now I want to set the preview to a proper position after I posted a new record.
The preview will be refreshed after each post.
What I want the preview to do is to scroll down to the last record.
I found the setPosition procedure which requires a pagenumber(int) and a top-position(int).
The pagenumber obviously is the last one.
How do I get a proper top-value dynamically?
Is it possible to get a top-value of a TfrxMemoView on let's say the beforeprint method?

I hope someone has an idea because I'm stuck at the moment.

Philipp

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.