TUpDown.Wrap property
Enables or disables wrap-around for the value in Position when it exceeds the limits in Min or Max.
Declaration
property Wrap:;Description
Wrap is a
Boolean property which indicates if the value
in Position is wrapped to the Min or Max value when incremented/decremented
beyond the limits for the value.
The default value for the property is False, and prevents any change to the value in Position when it would exceed the lower or upper limit. When set to True, incrementing Position beyond the value in Max causes it to be reset to the value in Min. Likewise, decrementing Position beyond the value in Min causes it to be reset to the value in Max.
Changing the value for the property causes the widgetset class to be updated when its handle has been assigned.
Wrap is used in the Click method when a new value is applied to Position following a button click on the control.
This description is the one of ComCtrls.TCustomUpDown.Wrap.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
