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 ImageNext())
ImageScrollingPosition(IMG_Banner, ImageScrollingPosition(IMG_Banner) + 1)
Syntax

Displaying a scroll from a specified image Hide the details

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

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

<Result> = ImageScrollingPosition(<Image control>)
<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, ImageScrollingPosition 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 16
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help