Gets or sets the control's maximum value.
Gets or sets the control's minimum value.
object.Max = [integer]
object.Min = [integer]
For each property, you can specify and integer between –32,768 to 32, 767, inclusive.
Use Min and Max to select the allowed value range for the control.
The default Min and Max are 0 and 32767.
If the Max property is greater than the Min property, then clicking the up (or right) arrow on the control will cause the Value of the control to be incremented, and clicking the down (or left) arrow will cause the Value to decrement. If the Max property is less than the Min property, then clicking the up (or right) arrow will cause the Value to decrement, and clicking the down (or left) arrow will cause the Value to be incremented.
Typically, the Max and Min properties are set at design-time. However it is possible to set them dynamically at run-time if the range is going to change. For example, when adding items to a list that can be browsed with an UpDown control.
It is important to note that the contents of an entry field bound to an UpDown control are not limited by the Min, Max or Value properties of the UpDown control. These properties simply limit the values sent through to the bound control when the user clicks the UpDown control.
The default Min and Max are 0 and 10.
The default Min and Max are 0 and 100.
When the value of the Value property is equal to the value of the Min property, the progress bar is empty. Likewise, when the value of the Value property is equal to the value of the Max property the progress bar is full.
The default Min and Max are 0 and 100.
When the value of the Value property is equal to the value of the Min property, the scroll bar thumb will be at the start. Likewise, when the value of the Value property is equal to the value of the Max property the scroll bar thumb will be at the end.
Orientation property | Value property | Wrap property
ScrollBar control (control deprecated in version 10.5)