Vcl.ComCtrls.TUpDown.Wrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Wrap;

C++

__property Wrap = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TUpDown

Description

Specifies how the up-down control handles attempts to exceed the value of Max or Min.

Vcl.ComCtrls.TUpDown.Wrap inherits from Vcl.ComCtrls.TCustomUpDown.Wrap. All content below this line refers to Vcl.ComCtrls.TCustomUpDown.Wrap.

Specifies how the up-down control handles attempts to exceed the value of Max or Min.

Use Wrap to specify whether the up-down control treats the range determined by the Max and Min properties as a continuous loop. If Wrap is true, the value of Position becomes the value of the Min property when the user increments Position beyond the value of Max, and becomes the value of Max when the user decrements Position beyond the value of Min.

See Also