ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
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
LooperRestorePositionAndSelection (Function)
In french: ZoneRépétéeRestaurePositionEtSélection
Restores the scrollbar position in a Looper control as well as the selected elements. These elements have been saved by LooperSavePositionAndSelection.
Example
sSavePosition is string
sSavePosition = LooperSavePositionAndSelection(LOOP_Looper1)
LooperDisplay(LOOP_Looper1, taInit)
LooperRestorePositionAndSelection(LOOP_Looper1, sSavePosition)
Syntax
LooperRestorePositionAndSelection(<Looper control> [, <Backup>])
<Looper control>: Control name
Name of the Looper control to be used.
<Backup>: Optional character string
Characteristics of the backup returned by the LooperSavePositionAndSelection function .
If this parameter is not specified:
Remarks
  • The name of the control used for the save (LooperSavePositionAndSelection) can differ from the name used for the restore operation. This feature can be useful to duplicate the position and the selection on two Looper controls displayed alternatively for example.
  • LooperRestorePositionAndSelection has no effect if the control is empty.
Business / UI classification: UI Code
Component: wd280obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/23/2023

Send a report | Local help