ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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> [, <Save>])
<Looper control>: Control name
Name of the Looper control to be used.
<Save>: Optional character string
Save characteristics returned by LooperSavePositionAndSelection.
If this parameter is not specified:
  • The last position and selection saved with LooperSavePositionAndSelection is used (if available).
  • If the position and selection have not been saved, an error is displayed.
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: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/30/2024

Send a report | Local help