PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Scroll value and bounds
  • Limits
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
The scroll value of a Scrollbar control corresponds to the move generated by a click performed in the bar found between the scrollbar box and one of the scroll arrows.
Image of scroll value on a scrollbar
The scroSpin control corresponds to the increment step of the spin.
..ScrollValue is used to manage the value of the scroll. You can:
  • Find out the value of the scroll for a Scrollbar, Spin or Range Slider control.
  • Modify the value of the scroll for a Scrollbar, a Spin or a Range Slider control.
Versions 16 and later
WINDEVLinux This property is now available for the WINDEV applications in Linux for the Scrollbar controls only.
New in version 16
WINDEVLinux This property is now available for the WINDEV applications in Linux for the Scrollbar controls only.
WINDEVLinux This property is now available for the WINDEV applications in Linux for the Scrollbar controls only.
Example
// Define the scroll value
SCROLL_Scrollbar1..ScrollValue = 10
// Simulate the scroll value of a page
SCROLL_Scrollbar1 += SCROLL_Scrollbar1..ScrollValue
Syntax

Finding out the value of the scroll Hide the details

<Current Scroll Value> = <Control Name>..ScrollValue
<Current Scroll Value>: Integer
Move generated by a click performed on the bar of the scrollbar (or Range Slider) or on the button of the spin.
<Control Name>: Character string (with or without quotes)
Name of control used:
  • Scrollbar
  • Spin
  • Versions 15 and later
    Range Slider
    New in version 15
    Range Slider
    Range Slider

Modifying the value of the scroll Hide the details

<Control Name>..ScrollValue = <New Scroll Value>
<Control Name>: Character string (with or without quotes)
Name of control used:
  • Scrollbar
  • Spin
  • Versions 15 and later
    Range Slider
    New in version 15
    Range Slider
    Range Slider
<New Scroll Value>: Integer
New value of the move generated by a click performed on the bar of the scrollbar (or Range Slider) or on the button of the spin.
Remarks

Scroll value and bounds

If ..MinValue and ..MaxValue are less than ..ScrollValue, ..ScrollValue automatically takes the following value: (MaxValue - MinValue).

Limits

..ScrollValue only applies to the window controls:
  • Scrollbar.
  • Spin.
  • Versions 15 and later
    Range Slider.
    New in version 15
    Range Slider.
    Range Slider.
Linux In Linux, this property is available for the Scrollbar controls only.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment