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
The Scroll property gets and sets the scroll value in a Scrollbar or Range Slider control. This scroll value is used when the user clicks the scroll arrows.
Remark: This property is useful when the user must scroll through a large range of values. It allows users to quickly move from one element to another.
Example
// Define the maximum value
SCROLL_MyScrollbar.MaxValue = 10000
// Define the scroll value
// (click between the scrollbar box and the arrow buttons)
SCROLL_MyScrollbar.ScrollValue = 1000
// Define the scroll value (click on the arrow buttons)
SCROLL_MyScrollbar.Scroll = 100
Syntax

Getting the scroll value of a Scrollbar or Range Slider control Hide the details

<Result> = <Control used>.Scroll
<Result>: Integer
Scroll value of the control.
<Control used>: Control name
Name of the Scrollbar or Range Slider control used.

Setting the scroll value of a Scrollbar or Range Slider control Hide the details

<Control used>.Scroll = <New scroll value>
<Control used>: Control name
Name of the Scrollbar or Range Slider control used.
<New scroll value>: Integer
New scroll value for the control. This value must be greater than or equal to 1.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/03/2022

Send a report | Local help