Vcl.ComCtrls.TCustomUpDown.Wrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Wrap: Boolean read FWrap write SetWrap default False;

C++

__property bool Wrap = {read=FWrap, write=SetWrap, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomUpDown

Description

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