ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Scrollbar control
  • Item characteristics
  • Handling the item and the Scrollbar control
  • Updating the Scrollbar control with the value from the item
  • Updating the item with the data from the Scrollbar control
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Binding a Scrollbar control to an item
Item characteristics
A scrollbar can be bound to an item in a data file, query, etc.
In this case, the item characteristics are as follows:
  • the item is an Integer.
  • the item contains the value of the position in the scrollbar box. This position corresponds to the scrollbar value.
  • the value of the item must be between the minimum and maximum value of the scrollbar.
Handling the item and the Scrollbar control

Updating the Scrollbar control with the value from the item

Case 1: window fields are associated with fields in a data file (Binding)
All the controls bound to an item in the data file (or a related file) will be updated by FileToScreen.
Case 2: the fields in the window are not associated with fields in a data file
A value must be assigned to each control using the following syntax:
<Control name> = <Data file>.<Item>

Updating the item with the data from the Scrollbar control

Case 1: window fields are associated with fields in a data file (Binding)
All the items in the data file (or a related file) that are bound to a control in the window will be updated by ScreenToFile.
Case 2: the fields in the window are not associated with fields in a data file
The value of each control must be assigned to each item using the following syntax:
<Data file>.<Item> = <Control name>
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 12/05/2024

Send a report | Local help