Value Property (UpDown Control)

       

Sets or returns the current position of the scroll value.

Syntax

object.Value [= long]

The Value property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
long A long integer that specifies the current value, as described below.

Remarks

The Value property specifies the current value within the range of the Min and Max properties. This property is incremented or decremented when the arrow buttons are clicked. The settings of the Min and Max properties determine whether the value is incremented or decremented when the arrow buttons are clicked.

If the SyncBuddy property is set to True, the BuddyProperty property is synchronized when there is a change in the Value property or when the BuddyProperty property value is changed.