Export (0) Print
Expand All
M
MinHeight, MinWidth Properties (Band Object)
Expand Minimize

Visual Basic: Windows Controls

Visual Studio 6.0

Max Property

See Also   Example   Applies To

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

Syntax

object.Max [= value]

The Max 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 maximum value, as described below. The setting for value can be a negative number.

Remarks

Pressing the up or right arrow normally causes the UpDown control to increase the Value property, however, if the Max property is less than the Min property, the UpDown control operates in the reverse direction.

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

Show:
© 2014 Microsoft