PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Parallax effect on controls
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
..ParallaxRateY is used to find out and specify the speed at which a control moves when the scrollbar found in the window, the internal window or the 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
IMG_Product..ParallaxRateY = 500
IMG_Product..ParallaxRateHeight = 500
Syntax

Finding out the speed at which the control moves when moving the scrollbar Hide the details

<Result> = <Control name>..ParallaxRateY
<Result>: Integer
Speed at which the control moves (included between 0 and 1000).
<Control name>: Character string (with or without quotes)
Name of control used.

Modifying the speed at which the control moves when moving the scrollbar Hide the details

<Control name>..ParallaxRateY = <New speed>
<Control name>: Character string (with or without quotes)
Name of control used.
<New speed>: Integer
Speed at which the control moves (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 moving the scrollbar found in the window or in the page.
  • If this parameter is set to 500, the control moves half as fast as the other controls, which is used to perform a "parallax scroll" (depth effect).
  • If this parameter is set to 1000, the control does not move when moving the scrollbar found in the window or in the page. This allows you to create fixed buttons for example.
Remarks
Versions 22 and later
WEBDEV - Browser code

Parallax effect on controls

  • To use ..ParallaxRateY, the parallax effect must have been enabled on the control ("Style" tab of control description). See Parallax effect for more details.
  • 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 ..ParallaxRateY, the parallax effect must have been enabled on the control ("Style" tab of control description). See Parallax effect for more details.
  • 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 ..ParallaxRateY, the parallax effect must have been enabled on the control ("Style" tab of control description). See Parallax effect for more details.
  • 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