Microsoft SDK for Java

UpDown.setWrap

Sets a boolean value indicating whether the value of the up-down control "wraps" back to the minimum value when the user increments the value of the control past the maximum value and "wraps" back to the maximum value when the user decrements the value of the control past the minimum value.

Syntax

public void setWrap( boolean value )

Parameters

value

Set to true if the value of the up-down control begins again at the minimum value when the user increments the value of the control past the maximum value and vice versa; otherwise, set to false. The default value is false.

See Also   getWrap

© 1999 Microsoft Corporation. All rights reserved. Terms of use.