TfrxPreview.setPosition
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
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