Sets or returns a value that determines whether the control's Value property wraps around to the beginning or end once it reaches the Max or Min value.
Syntax
object.Wrap [= value]
The Wrap property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A boolean expression that determines whether the UpDown control wraps its Value property, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
True | The UpDown control wraps the Value property to the beginning or end when the user moves past the Max or Min properties using the arrow buttons. |
False | (Default) The UpDown control doesn't wrap the Value property. |
Remarks
When Wrap is True, the Value property wraps according to the value of the Min, Max, and Increment properties.
When the Value property wraps, its first jump is to the Min value. For example, if Min is 20, Max is 70, Increment is 10, Value is 70, and the user clicks the up or right arrow button, the Value property wraps to 20.