PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Parallax effect on controls
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
The ParallaxRateHeight property is used to determine and specify how fast a control is reduced when the scrollbar in the window, internal window or page moves.
Versions 22 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 22
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
WINDEVAndroidiPhone/iPadIOS Widget
IMG_Product.ParallaxRateY = 500
IMG_Product.ParallaxRateHeight = 500
WEBDEV - Browser code
CELL_Product.ParallaxRateY = 500
CELL_Product.ParallaxRateHeight = 500
Syntax

Finding out the speed at which the control is reduced when scrolling the scrollbar Hide the details

<Result> = <Control used>.ParallaxRateHeight
<Result>: Integer
Speed at which the control is reduced (included between 0 and 1000).
<Control used>: Control name
Name of the control used.

Modifying the speed at which the control is reduced when scrolling the scrollbar Hide the details

<Control used>.ParallaxRateHeight = <New speed>
<Control used>: Control name
Name of the control used.
<New speed>: Integer
Speed at which the control is reduced (included between 0 and 1000). This parameter is set to 0 by default.
  • If this parameter is set to 0, the control moves as usual when scrolling the window or the page.
  • If this parameter is set to 1000, the control is crushed down as the scroll performed in the window or page goes along.
Remarks
Versions 22 and later
WEBDEV - Browser code

Parallax effect on controls

  • To use the ParallaxRateHeight property, the parallax effect must be enabled for the control ("Style" tab of the control description). For more details, see Parallax effect.
  • This property is available for the following controls:
    • Cell.
    • Layout area.
    • Rich text area.
    • "Control template" control.
New in version 22
WEBDEV - Browser code

Parallax effect on controls

  • To use the ParallaxRateHeight property, the parallax effect must be enabled for the control ("Style" tab of the control description). For more details, see Parallax effect.
  • This property is available for the following controls:
    • Cell.
    • Layout area.
    • Rich text area.
    • "Control template" control.
WEBDEV - Browser code

Parallax effect on controls

  • To use the ParallaxRateHeight property, the parallax effect must be enabled for the control ("Style" tab of the control description). For more details, see Parallax effect.
  • This property is available for the following controls:
    • Cell.
    • Layout area.
    • Rich text area.
    • "Control template" control.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment