AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • 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.
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
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.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 12/06/2023

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