ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and 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
ObserverOrientation (Property)
In french: AngleObservateur
The ObserverOrientation property gets or sets the secondary angle of a Carousel control. This secondary angle makes the carousel "lean":
  • forward or backward for a horizontal control
  • to the left or to the right for a vertical control.
Remark: The orientation is set to default if the value of the Vertical property changes in the control.
Example
CAR_Carousel1.ObserverOrientation += 15 // The carousel leans by 15°
Syntax

Getting the secondary angle of a Carousel control Hide the details

<Result> = <Carousel control>.ObserverOrientation
<Result>: Integer
Value of the secondary angle (in degrees, from 0 to 360).
<Carousel control>: Control name
Name of the Carousel control whose secondary angle is to be identified.

Modifying the secondary angle of a Carousel control Hide the details

<Carousel control>.ObserverOrientation = <New angle>
<Carousel control>: Control name
Name of the Carousel control whose secondary angle is be modified.
<New angle>: Integer
Value of the secondary angle (in degrees, from 0 to 360).
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment

Last update: 10/31/2022

Send a report | Local help