PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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(<Control Name> , <Subscript>)
<Control Name>: Character string (with or without quotes)
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(<Control Name>)
<Result>: Integer
Subscript of the image currently displayed.
<Control Name>: Character string (with or without quotes)
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.
Components
WEBDEV - Server code wd230page.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230page.so
Minimum required version
  • Version 16
Comments
Click [Add] to post a comment