Visual Basic: Windows Controls

Min Property

See Also   Example   Applies To

Sets or returns the minimum value of the scroll range for the UpDown control.

Syntax

object.Min [= value]

The Min property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A long integer value that specifies the minimum value, as described below. The setting for value can be a negative number.

Remarks

Pressing the down or left arrow normally causes the UpDown control to decrease the Value property. However, if the Min property is greater than the Max property, the UpDown control operates in the reverse direction.

Pressing the down or left arrow always causes the Value property to approach the Min value. Pressing the up or right arrow always causes the Value property to approach the Max value.