WPCubed Product Support

Scroll to page set by pagenumber

Hello again,
I am working on a section of code a coworker had worked on and he was setting the page of the document to be viewed using the property pagenumber. However this does not move the scrollbar down to where the page is. How can I move the scroll bar down? I have tried to find a way to get the first par on the page so I could go the route of setting the CPPosition to par.position but I haven't found anything.

Thank you.

#1 ♥ 0
4.6k Views 2 users read 1 min
support

Hi,

There is also CPPage - that is the page number of the cursor and should also move the cursor.

Julian

#2 ♥ 0

hi,
Thank you. I feel kind of silly having even posted this, everything was apparently working ok I just needed to refresh to editor.

#3 ♥ 0
This category is archived. No new posts are possible.