Assistant.setCurrentPage

Switches the page to page_num.

Note that this will only be necessary in custom buttons, as the assistant flow can be set with Assistant.setForwardPageFunc.

class Assistant
void
setCurrentPage
()

Parameters

pageNum int

index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the assistant, nothing will be done.

Meta

Since

2.10