PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Scrolls a page up to position a control in the visible section of the page (top) in the browser.
Example
// LOOP_LOOPER is a looper.
// Position on the last row of the looper
PagePosition("", LOOP_LOOPER, LOOP_LOOPER..Occurrence)
Syntax
PagePosition(<Page Name> , <Control Name> [, <Subscript>])
<Page Name>: Character string (with or without quotes)
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 (with or without quotes)
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.
<Subscript>: Optional integer (for the memory loopers and tables)
Subscript of the row where the control is located. PagePosition has no effect:
  • if the control is not a memory Looper control or a memory Table control,
  • if the subscript is greater than the number of rows in the specified memory Table or Looper control.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment