PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Restores the scrollbar position in a Looper control as well as the selected elements. These elements have been saved by <Looper>.SavePositionAndSelection.
New in version 27
Android This function is now available for Android applications.
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:
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: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment