PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The VisibleRange property is used to get and change 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
// Display the properties of the Range Slider control
EDT_Value = MySelf.Value
EDT_LOWER_BOUND = MySelf.MinValue
EDT_UPPER_BOUND = MySelf.MaxValue
EDT_TOTAL_RANGE = MySelf.TotalRange
EDT_VISIBLE_RANGE = MySelf.VisibleRange
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.
Remark: For an horizontal Range Slider, only the right extremity 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