ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Image 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
Displays the scroll from the specified image or returns the name of the image displayed in the scroll.
Example
// Displays the next image (equivalent to ImageName.Next())
IMG_Banner.ScrollingPosition(IMG_Banner.ScrollingPosition() + 1)
Syntax

Displaying a scroll from a specified image Hide the details

<Image control>.ScrollingPosition(<Subscript>)
<Image control>: Control name
Name of the control to be used:
  • Image control.
  • Clickable Image control.
  • Thumbnail control.
<Subscript>: Integer
Index of the image to display. If this parameter is greater than the number of images to scroll (returned by <Image>.Occurrence), the first image is displayed by default.

Finding out the index of the image displayed in a scroll Hide the details

<Result> = <Image control>.ScrollingPosition()
<Result>: Integer
Index of the image currently displayed.
<Image control>: Control name
Name of the control to be used:
  • Image control.
  • Clickable Image control.
  • Thumbnail control.
Remarks
When used in a server code, <Image>.ScrollingPosition returns the index of the current image only if the server code has been executed by the "Send values to the server (submit)" control.
Component: wd290page.dll
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help