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
<Looper>.RestorePositionAndSelection (Function)
In french: <Zone répétée>.RestaurePositionEtSélection
Restores the scrollbar position in a Looper control as well as the selected elements. These elements have been saved by <Looper>.SavePositionAndSelection.
Example
sSavePosition is string
sSavePosition = LOOP_Looper1.SavePositionAndSelection()
LOOP_Looper1.Display(taInit)
LOOP_Looper1.RestorePositionAndSelection(sSavePosition)
Syntax
<Looper control>.RestorePositionAndSelection([<Save>])
<Looper control>: Control name
Name of the Looper control to be used.
<Save>: Optional character string
Save characteristics returned by <Looper>.SavePositionAndSelection.
If this parameter is not specified:
  • The last position and selection saved with <Looper>.SavePositionAndSelection 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 (<Looper>.SavePositionAndSelection) 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.
  • <Looper>.RestorePositionAndSelection has no effect if the control is empty.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/30/2024

Send a report | Local help