PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Retrieving the cursor position
  • Modifying the cursor position
  • Properties specific to the management of a Scrollbar control
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
Handling a Scrollbar control by programming
Overview
WINDEV and WINDEV Mobile allow you to handle a Scrollbar control by programming. To do so, use the variable of the scrollbar control in the code.
The variable of the Scrollbar control:
  • corresponds to the name of the scrollbar.
  • is initialized with the position of the scrollbar box.
Retrieving the cursor position
To retrieve the position of the cursor in a a Scrollbar control, use the following syntax:
<Position> = <Scrollbar Name>
<Position> is an integer variable
Note: You also have the ability to use ..Value.
Modifying the cursor position
To modify the position of the cursor in a a Scrollbar control, use the following syntax:
<Scrollbar Name> = <value>
<Value> is a value found between the minimum value and the maximum value of the scrollbar. These values have been described in the description window of control or by programming with ..MinValue and ..MaxValue.
Note: You also have the ability to use ..Value.
Properties specific to the management of a Scrollbar control
The following properties are used to manage the characteristics of a Scrollbar control by programming.
Versions 20 and later
Scroll
New in version 20
Scroll
Scroll
Used to find out and modify the scroll step of a Scrollbar control.
ScrollValueUsed to find out and modify the scroll value of a Scrollbar control.
MaxValueUsed to find out and modify the maximum bound of a Scrollbar control.
MinValueUsed to find out and modify the minimum bound of a Scrollbar control.
To find out the entire list of WLanguage properties that can be used with a Scrollbar control, see Properties associated with the Scrollbar control.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment