PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Overview of Slider control
  • Window control
  • Creating a Slider control
  • Creating a Slider control
  • Notes
  • Modifying the value of the slider at runtime with the mouse wheel
  • Swap
  • Characteristics of the slider
  • Examples
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 Slider control

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 the user moves with the mouse (or with the mouse wheel).
Visual marks can be displayed. The cursor does not snap to these marks: the cursor of the slider is moved unit by unit.
Versions 19 and later
Android This type of control is now available for Android applications.
iPhone/iPad This type of control is now available for iPhone/iPad applications.
WINDEVLinux This type of control is now available for WINDEV applications in Linux.
Universal Windows 10 App This type of control is now available for applications in Windows Store apps mode.
New in version 19
Android This type of control is now available for Android applications.
iPhone/iPad This type of control is now available for iPhone/iPad applications.
WINDEVLinux This type of control is now available for WINDEV applications in Linux.
Universal Windows 10 App This type of control is now available for applications in Windows Store apps mode.
Android This type of control is now available for Android applications.
iPhone/iPad This type of control is now available for iPhone/iPad applications.
WINDEVLinux This type of control is now available for WINDEV applications in Linux.
Universal Windows 10 App This type of control is now available for applications in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
You can 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" pane, in the "Graphic controls" group:
    • WindowsLinux expand "Slider" and select the type of slider to create:
    • AndroidiPhone/iPadUniversal Windows 10 AppWindows Mobile click "Slider".
  2. Click where you want to create the control. The control appears in the editor.
To view the control characteristics, select "Description" in the popup menu of the control.
Versions 18 and later
WEBDEV - Server code Remark: WEBDEV also proposes a Slider control. See Slider control in Web for more details.
New in version 18
WEBDEV - Server code Remark: WEBDEV also proposes a Slider control. See Slider control in Web for more details.
WEBDEV - Server code Remark: WEBDEV also proposes a Slider control. See Slider control in Web for more details.
Notes
WINDEV

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

The user can modify the value of the slider with the mouse wheel: the cursor will move according to the step (the marks) defined for the slider.
WINDEV

Swap

WINDEV allows you to transform a standard Slider into a round Slider (and conversely):
  1. Select the control to transform.
  2. On the "Modification" pane, in the "Transformations" group, expand "Refactoring and swapping" and select "Slider/Round slider".
AndroidiPhone/iPad

Characteristics of the slider

  • The slider cursor is necessarily an image.
  • You can use a native slider ("Native slider" option in the "Details" tab of the control description window). In this case:
    • the slider will automatically adapt to the system style. The graphic options defined for the Slider control (mark, cursor image, ...) will be ignored. The properties used to manage images associated with the control will be ignored.
    • the slider cannot be oriented vertically. Only horizontal sliders are supported.

Examples

Several examples of sliders are supplied with WINDEV.
These sliders are accessible from the "Preset controls" pane.
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.
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- 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