Quantcast

How to scroll across report pages in Vijeo Citect during runtime.

FA56

23 January 2021

For scrolling across report pages in Vijeo Citect during runtime, Up/Down arrow button can be placed over page with following specific function for scrolling purpose.

Function DspRichTextPgScroll (hAn, iDirection, iAmount), scrolls the contents of the rich text object displayed at hAn, in the direction given in "iDirection", by the number of lines/units given in "iAmount."
 
Note:
Remember that the height of a line varies according to the font used, therefore if you need to scroll absolute distances, it is advisable to use the DspRichTextPgScroll () function.