Scroll get_page() and set_page(int) how to properly use

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By brunosxs
:warning: Old Version Published before Godot 3 was released.

Hi friends.

I have a RichText Label with a VScroll and I am having difficulties trying to make the text skip an entire “page” with a button press.

I have a placeholder text of more than 12.000 characters to test it out and when I call the textObj.get_v_scroll().get_page, I get a value that I can’t make much out of it…
Also, nothing seems to happen when I do a textObj.get_v_scroll().set_page(any_number)

The only thing that works is when I use textObj.get_v_scroll().set_value(any_number) but this won’t work in all the situations…

Taking this into account, I’d like to know more, see any examples or an explanation of the “page” concept, since what I think I know isn’t working, so it is probably wrong.

Thanks