PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of Scrollbar control
  • Window control
  • Creating a Scrollbar control
  • Image of 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of Scrollbar control

Window control

The Scrollbar control is used to scroll objects (text, static, ...). The scroll of requested object is performed by programming the scrollbar. An horizontal scrollbar is used to scroll the objects horizontally while a vertical scrollbar is used to scroll the objects vertically.
A scrollbar contains the following elements:
Creating a Scrollbar control
To create a Scrollbar control:
  1. In the window editor, click (or select "Insert .. Control .. Scrollbar").In the ribbon:
    • WINDEV on the "Creation" pane, in the "Adjust" group, click "Scrollbar". WINDEV on the "Creation" pane, in the "Adjust" group, expand "Scrollbar" and click "Scrollbar".
    • WINDEV Mobile on the "Creation" pane, in the "Other controls" group, click "Scrollbar".
  2. Click the position where the control will be created in the window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control. You have the ability to choose the orientation of scrollbar.
Image of Scrollbar control
Versions 15 and later
WINDEV A scrollbar control can be drawn from some system elements or via an image.
To use an image:
  1. Open the description window of control.
  2. Select the "Style" tab.
  3. Choose the "Background and Image" element.
  4. Select an "Image (9-image mode)" border.
  5. Click the button found bedifr the "Border" control.
  6. The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar).
    The image catalog proposes several images of scrollbars.
    The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar) via the Drop-down button button:
    • The "Browse" option allows you to use a file accessible from your computer.
    • The "Catalog" option is used to select an image in the image catalog. The image catalog proposes several images of scrollbars.
New in version 15
WINDEV A scrollbar control can be drawn from some system elements or via an image.
To use an image:
  1. Open the description window of control.
  2. Select the "Style" tab.
  3. Choose the "Background and Image" element.
  4. Select an "Image (9-image mode)" border.
  5. Click the button found bedifr the "Border" control.
  6. The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar).
    The image catalog proposes several images of scrollbars.
    The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar) via the Drop-down button button:
    • The "Browse" option allows you to use a file accessible from your computer.
    • The "Catalog" option is used to select an image in the image catalog. The image catalog proposes several images of scrollbars.
WINDEV A scrollbar control can be drawn from some system elements or via an image.
To use an image:
  1. Open the description window of control.
  2. Select the "Style" tab.
  3. Choose the "Background and Image" element.
  4. Select an "Image (9-image mode)" border.
  5. Click the button found bedifr the "Border" control.
  6. The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar).
    The image catalog proposes several images of scrollbars.
    The popup that is displayed allows you to choose the two images to use (horizontal scrollbar and vertical scrollbar) via the Drop-down button button:
    • The "Browse" option allows you to use a file accessible 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:
NameDefinition
Scroll valueStep of the scrollbar when the user clicks inside the area located between the box of the scrollbar and the spin button.
RepetitionWhen the mouse button remains pressed on one of the spin buttons, a repetition of the click on the spin button is automatically managed. You have the ability to configure the time interval between these repetitions.
Minimum valueValue of the scrollbar when the box of the scrollbar is located at the beginning of the scrollbar (1 by default). This value corresponds to the lower bound.
Maximum valueValue of the scrollbar when the box of the scrollbar is located at the end of the scrollbar. This value corresponds to the upper bound.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment