PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..VisibleRange is used to find out and modify the width of the scrollbar box in a Range Slider control.
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 modified by ..VisibleRange, the "Range modification" event of the Range Slider is not run.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment