ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The VisibleRange property gets and sets the width of the Range Slider control track.
Visible range of the Range Slider
The visible range can also be configured:
  • in the description window of the Range Slider control ("General" tab).
  • by the user when he modifies the extremities of the scrollbar box. In this case, the "Range modification" event of the Range Slider is automatically run.
Example
// Affiche les propriétés du champ Range Slider
SAI_Valeur = MySelf.Valeur
SAI_BORNE_MIN = MySelf.BorneMin
SAI_BORNE_MAX = MySelf.BorneMax
SAI_ETENDUE_TOTALE = MySelf.EtendueTotale
SAI_ETENDUE_VISIBLE = MySelf.EtendueVisible
Syntax

Finding out the visible range of the Range Slider control Hide the details

<Result> = <Range Slider control>.VisibleRange
<Result>: Integer
Visible range of the Range Slider.
<Range Slider control>: Control name
Name of the Range Slider control used.

Modifying the visible range of Range Slider control Hide the details

<Range Slider control>.VisibleRange = <New visible range>
<Range Slider control>: Control name
Name of the Range Slider control used.
<New visible range>: Integer
New visible range of the Range Slider control.
Note: For a horizontal Range Slider, only the right-hand end is modified. For a vertical Range Slider, only the bottom extremity is modified.
Remarks
When the visible range of a Range Slider is changed using the VisibleRange property, the "Range modification" event of the Range Slider is not executed.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help