Name
Pageview.GetPageID -- return ID of a page inside the pageview
Synopsis
id$ = moai.DoMethod(id, "GetPageID", idx)
Function
This method returns the ID of the page at the specified index within the pageview. idx can be an absolute number ranging from 0 to the number of pages in the pageview minus 1 or it can be one of the following special values:

First
First page.

Last
Last page.

Active
Active page.

On AmigaOS and compatibles this feature requires at least MUI 4.0.

Inputs
id
id of the pageview object
idx
absolute index of desired page or special string constant (see above)
Results
id$
id of the page object at the specified pageview index

Show TOC