Wrap Property

Gets or sets a value that determines whether the control's value wraps around the maximum and minimum value.

object.Wrap = [boolean]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False, as described in Settings.

Client support

Newlook Smartclient

Newlook Server

Use

This property can be used to allow the UpDown control to continuously cycle through the available values then set this property to True. For example, if the Min and Max property are set to 1 and 10 respectively then setting this property to True will ensure that when the UpDown control Value is at 10 and the user clicks the right arrow then the value will change to 1. If this property is set to False then the value will not change and remain at 10.

Settings

The Wrap settings for the up down control are :

Setting

Description

True

(Default) Allow the control to continuously cycle through the available values.

False

Prevent the control's value from cycling.

See Also

Min property | Max property | Orientation property | Value property

Applies To

UpDown control