ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • 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 ParallaxRateY property is used to determine and specify how fast a control moves when the scrollbar in the window, internal window or page moves.
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 used>.ParallaxRateY
<Result>: Integer
Speed at which the control moves (included between 0 and 1000).
<Control used>: Control name
Name of the control used.

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

<Control used>.ParallaxRateY = <New speed>
<Control used>: Control name
Name of the 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
WEBDEV - Browser code

Parallax effect on controls

  • To use the ParallaxRateY 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

Last update: 06/12/2023

Send a report | Local help