Scrolls a page up to position a control in the visible section of the page (top) in the browser.
// LOOP_LOOPER is a Looper control.
// Position on the last row of the Looper control
PagePosition("", LOOP_LOOPER, LOOP_LOOPER.Occurrence)
PagePosition(<Page name> , <Control name> [, <Index>])
<Page name>: Character string
Name of the page to scroll.
The current page will be used if the name of the page corresponds to an empty string (""). PagePosition has no effect if the name of the page is incorrect.
<Control name>: Character string
Name of the control to display in the visible part of the specified page. PagePosition has no effect if the control is already visible in the page or if the page is entirely visible in the browser.
<Index>: Optional integer (for Looper and Table controls populated programmatically)
Index of the row that contains the control. PagePosition has no effect:
- if the control is not a Looper or Table control populated programmatically,
- if the index is greater than the number of rows in the specified Table or Looper control populated programmatically.