OnScrollMaxChange and OnScrollPosChange

edited February 16 in FastReport VCL

Hi,

I try to implement a scrollbar for the TfrxPreview component. Unfortunately the original scrollbar is not skinned, therefore I have to.

Now I have the problem, that I cannot really unserstand, what the value of "OnScrollMaxChange" mean. I e.g. receive a value of 2240, but the report is already at the end at position 1693. In another report I receive a value of 149 and the report is at the end at position 103.

Can anybody explain me how to setup the scrollbar correctly?

Comments

  • You may use TfrxScrollBox with TfrxPreview, but you can't to control scrollbars positions

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.