|
|
|
|
|
<Image>.StartScrolling (Function) In french: <Image>.LanceDéfilement Starts cycling through images.
gnNumberSlideImages is int
gnStartingImage is int
gsSlideImageName is string
<BLOCK>
gsSlideImageName = fListFile(fWebDir() + fSep + "Home banner" +
fSep + "*.jpg", frNotRecursive)
FOR EACH STRING sAFile OF gsSlideImageName SEPARATED BY CR
gnNumberSlideImages++
END
InitRandom()
gnStartingImage = Random(1, gnNumberSlideImages)
NumSlideStartingImage is int = gnStartingImage
FOR I = 1 TO NumSlideStartingImage
IMG_Overview.Next()
END
IMG_Overview.StartScrolling()
<END>
Syntax
<Image control>.StartSliding([<Type of scroll>])
<Image control>: Control name Name of control to use:- Image control.
- Clickable Image control.
- Thumbnail control.
<Type of scroll>: Optional Integer constant Type of scroll to perform: | | scrollCurrent | Fills the list of images and starts the scroll from the current position if possible.
| scrollInitialize | Fills the list of images and starts the scroll from the beginning.
| scrollStart (Default value) | Starts (or restarts) the scroll from the current position. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|