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
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 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 <Image>.Occurrence), the first image is displayed by default.

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

<Result> = <Image control>.ScrollingPosition()
<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, <Image>.ScrollingPosition 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 : wd250page.dll
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment