PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property UpperValue allows you to:
  • Find out the upper bound of the interval currently selected in a Range Slider control.
  • Modify the upper bound of the interval currently selected in a Range Slider control.
Example
// Initializes the interval of prices for the product search
RGS_PriceFilter.TerminalMin = 0
RGS_FiltrePrix.BorneMax = 1000
RGS_PriceFilter.LowerValue = 10
RGS_PriceFilter.UpperValue = 1000
Syntax

Finding out the upper value of the selected interval Hide the details

<Result> = <Range Slider control>.UpperValue
<Result>: Integer
Upper value of the interval currently selected in the control.
<Range Slider control>: Control name
Name of the Range Slider control used.

Modifying the upper value of the selected interval Hide the details

<Range Slider control>.UpperValue = <New value>
<Range Slider control>: Control name
Name of the Range Slider control used.
<New value>: Integer
New upper value for the interval currently selected in the control.
Remarks
  • To find out and modify the lower bound of the interval, use LowerValue or Value.
  • The LowerValue and UpperValue properties comply with the following conditions:
    • MinValue is less than or equal to LowerValue.
    • The Property LowerValue is less than or equal to the Property UpperValue.
    • The Property UpperValue is less than or equal to the Property MaxValue.
    In assignment:
    • If the new value is lower than the Property MinValue, the Property s LowerValue and UpperValue take the value of the Property MinValue.
    • If the new value is lower than the Property LowerValue, the Property LowerValue is modified to the same value as the Property UpperValue.
    • 0
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment