AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas de la Web / Funciones de imagen
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
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local