ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
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 MinValue property is used to:
  • find out and modify the lower bound for a report based on a data file. The lower bound corresponds to the minimum value allowed for the search key of the HFSQL data file used as report source.
  • find out the lower bound of the current filter (defined by HFilter) on an HFSQL data file, view or query.
  • find out the minimum value of a chart series.
  • find out and modify the minimum value for some types of controls.
Example
WINDEVUser code (UMC)
// Modify the lower bound for row 3 of the Progress Bar column
COL_ProgressBar[3].MinValue = 20
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetUser code (UMC)Ajax
// Print the customers found between "DUPONT" and "DURANT"
RPT_MyFileReport.MinValue = "DUPONT"
RPT_MyFileReport.MaxValue = "DURANT"
WINDEVUniversal Windows 10 AppiPhone/iPadIOS WidgetUser code (UMC)
// According to the lower bound defined for the edit control,
// change this lower bound
IF EDT_Price.MinValue > 10 THEN
EDT_Price.MinValue = 20
END
Syntax

Finding out the lower bound of a control or report Hide the details

<Current value> = <Element used>.MinValue
<Current value>: Character string
Current value of the lower bound:
  • for the report based on a data file.
  • for a control found in a window or page.
  • WEBDEV - Server codePHP for the Calendar control found in a page. The lower bound represents the minimum date that can be displayed by the calendar.
<Element used>: Control or report name
This parameter corresponds to:
  • the name of the report used (report based on a data file).
  • the name of control whose lower bound is requested (control in a window or in a page). The list of controls concerned is located in the "Limitations" paragraph.

Modifying the lower bound of a control or report Hide the details

<Element used>.MinValue = <New value>
<Element used>: Control or report name
This parameter corresponds to:
  • the name of the report used (report based on a data file).
  • the name of control whose lower bound must be modified (control in a window or in a page).
<New value>: Integer
New value of lower bound:
  • for the report based on a data file.
  • for a control found in a window or page. The list of controls concerned is located in the "Limitations" paragraph.
  • WEBDEV - Server codePHP for the Calendar control found in a page. The lower bound represents the minimum date that can be displayed by the calendar.
  • for the Rating control. Only the values 0 or 1 are allowed.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetMac CatalystJavaUser code (UMC)AjaxHFSQL

Finding out the lower bound defined for the current filter Hide the details

<Current value> = <Element used>.MinValue
<Current value>: Type corresponding to the filter used
  • Current value of lower bound for the filter currently used on the specified element. This filter was defined by HFilter.
  • Empty string ("") in the following cases:
    • no filter was defined for the specified element
    • the filter is disabled
    • no bound was specified for the filter
<Element used>: Element name
Name of data file, query or view used.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppAndroidiPhone/iPadMac CatalystUser code (UMC)Ajax

Finding out the minimum value of a chart series Hide the details

<Minimum value> = <Series>.MinValue
<Minimum value>: Integer
Minimum value of series. This value exists only if it was calculated (if the series was drawn for example).
<Series>: Character string
Series to use. Use the following notation: <Chart name>[<Series number>].
Remarks

Bounds for a report based on a data file

Bounds select only those records whose search key is between the lower bound value (returned by the MinValue property) and the upper bound value (returned by the MaxValue property).

Limit for a report

The MinValue property can only be used on reports based on data files. When creating the report, you must specify that the browse is bounded by the minimum value.
WINDEVUniversal Windows 10 AppAndroidiPhone/iPadIOS WidgetJavaUser code (UMC)

Limit for a window control

The value defined for the lower bound cannot be greater than the value defined for the upper bound. The maximum value is returned by the MaxValue property.

Limitations

WINDEV This property can be used on the following types of controls:
  • Scrollbar control,
  • Progress Bar control and Progress Bar columns,
  • Slider control (linear or circular),
  • Spin control,
  • Splitter control,
  • Calendar control,
  • Numeric edit control (no number less than this value can be entered),
  • Duration edit control (no duration lower than this value can be entered),
  • Range Slider,
  • Rating.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
WEBDEV - Server codeWEBDEV - Browser codePHP This property can be used on the following types of controls:
  • WEBDEV - Server codePHP Calendar controls.
  • Slider controls.
  • Progress Bar controls.
  • Rating controls.
iPhone/iPadMac Catalyst This property can be used on the following types of controls:
  • Calendar controls.
  • numeric edit controls (no number greater than this value can be entered).
  • duration edit controls (no duration greater than this value can be entered),
  • Chart controls.
  • Numeric table columns.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
Universal Windows 10 App This property can be used on the following types of controls:
  • numeric edit controls (no number greater than this value can be entered).
  • Chart controls.
  • Calendar controls.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help