PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ImageScrollingPosition (Function)
In french: ImagePositionDéfilement
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> , <Subscript>)
<Image control>: Control name
Name of control to use:
  • Image control.
  • Clickable Image control.
  • Thumbnail control.
<Subscript>: Integer
Subscript 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 subscript of the image displayed in a scroll Hide the details

<Result> = ImageScrollingPosition(<Image control>)
<Result>: Integer
Subscript of the image currently displayed.
<Image control>: Control name
Name of control to use:
  • Image control.
  • Clickable Image control.
  • Thumbnail control.
Remarks
Used in a server code, ImageScrollingPosition returns the subscript of the current image only if the server code was run by a "Send the control value to the server (submit)" control.
Component : wd240page.dll
Minimum version required
  • Version 16
Comments
Click [Add] to post a comment