ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Scrollbar control
  • Overview of Scrollbar control
  • Window control
  • Creating a Scrollbar control
  • Image of the Scrollbar control
  • Vocabulary associated with the Scrollbar control
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
Overview of Scrollbar control

Window control

The Scrollbar control is used to scroll objects (text, captions, etc.). The scroll of the object is performed through programming. An horizontal scrollbar is used to scroll objects horizontally and a vertical scrollbar is used to scroll objects vertically.
A scrollbar contains the following elements:
Creating a Scrollbar control
To create a Scrollbar control:
  1. On the "Creation" tab, in the "Adjust" group, expand "Scrollbar" and click "Scrollbar".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. You can choose the orientation of the scrollbar.
Image of the Scrollbar control
A scrollbar control can be drawn from some system elements or via an image.
To use an image:
  1. Open the control description window.
  2. Select the "Style" tab.
  3. Choose the "Background and Image" element.
  4. Select a border of type "Image (9-slice scaling)".
  5. Click the button next to "Border".
  6. The popup that appears allows you to choose the two images to use (horizontal and vertical scrollbar) via the Drop-down button button:
    • The "Browse" option allows you to use a file that can be accessed from your computer.
    • The "Catalog" option is used to select an image in the image catalog. The image catalog proposes several images of scrollbars.
Vocabulary associated with the Scrollbar control
To easily handle a scrollbar, you must be familiar with the following vocabulary:
Name Definition
Scroll valueDegree to which the scroll box moves when the user clicks the area between the scroll box and the arrow buttons.
RepetitionWhen the mouse button remains pressed on one of the arrow buttons, the click on the arrow button is automatically repeated. You can configure the time interval between these repetitions.
Minimum valueValue when the scroll box is at the beginning of the scrollbar (1 by default). This value corresponds to the lower bound.
Maximum valueValue when the scroll box is at the end of the scrollbar. This value corresponds to the upper bound.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help