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 / Slider control
  • Slider control overview
  • Window control
  • Creating a Slider control
  • Creating a Slider control
  • Notes
  • Modifying the value of the slider at runtime with the mouse wheel
  • Swap
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Slider control overview

Window control

A slider control is used to select a value between two bounds. Its operating mode is similar to the operating mode of a scrollbar. The current value is identified by a cursor that is moved by the user with the mouse (or with the mouse wheel).
Visual marks can be displayed. These graduations are not object snapping: the slider of the slider is moved unit by unit.. It is possible to create:
  • standard sliders
    Standard slider
  • WINDEV round sliders
    Round Slider
Creating a Slider control

Creating a Slider control

To create a Slider control:
  1. On the "Creation" tab, in the "Graphic controls" group:
    • WindowsLinux expand "Slider" and select the type of slider to create:
  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.
Notes
WINDEV

Modifying the value of the slider at runtime with the mouse wheel

The user can directly modify the value of the slider using the mouse wheel: the cursor is moved according to the step (graduations) defined for the slider..
WINDEV

Swap

WINDEV can convert a standard Slider control into a Round Slider and vice versa:
  1. Select the control to transform.
  2. On the "Modification" tab, in the "Transformations" group, expand "Refactoring and swapping" and select "Slider/Round slider".
Related Examples:
The Slider control Unit examples (WINDEV): The Slider control
[ + ] Managing a graphic slider with the WLanguage functions.
This example is using a graphic slider created from a background image and from a cursor image.
WINDEV allows you to easily customize your sliders. All you have to do is specify the slider image and the cursor image.
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- Vibration
- Notifications
- Drawing functions
- Internet
WM Password Cross-platform examples (WINDEV Mobile): WM Password
[ + ] Web sites, bank accounts, ... passwords are everywhere in out life. With WM Password, no need to store all the passwords of your different accounts. The application stores all your passwords in a secure way. WM Password can also generate secure passwords for you.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help