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 UpperValue property is used to:
  • Get the upper bound of the currently selected interval in a Range Slider control.
  • Change the upper bound of the currently selected interval in a Range Slider control.
Example
// Initializes the interval of prices for the product search
RGS_FilterPrice.MinValue = 0
RGS_FilterPrice.MaxValue = 1000
RGS_FilterPrice.LowerValue = 10
RGS_FilterPrice.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 get and set the lower bound of the interval, use the LowerValue or Value properties.
  • The LowerValue and UpperValue properties meet the following conditions:
    • The MinValue property is less than or equal to the LowerValue property.
    • The LowerValue property is less than or equal to the UpperValue property.
    • The UpperValue property is less than or equal to the MaxValue property.
    When a value is assigned:
    • If the new value is less than the MinValue property, the LowerValue and UpperValue properties take the value of the MinValue property.
    • If the new value is less than the LowerValue property, the LowerValue property is modified and takes the same value as the UpperValueproperty.
    • If the new value is more than the MaxValue property, the UpperValue property takes the value of the MaxValue property.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment