PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Scrolls a page up to position a control in the visible section of the page (top) in the browser.
Example
// ZR_REPETE est un champ Zone répétée.
// Positionnement sur la dernière ligne du champ Zone répétée
PagePosition("", ZR_REPETE, ZR_REPETE.Occurrence)
Syntax
PagePosition(<Page name> , <Control name> [, <Subscript>])
<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 (""). If the page name is incorrect, the PagePosition function has no effect.
<Control name>: Character string
Name of the control to display in the visible part of the specified page. If the field is already Visible in the page or if the page is fully Visible in the browser, the PagePosition function has no effect.
<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.
Component: WDJS.DLL
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment