Enables or disables wrap-around for the value in Position when it exceeds the limits in Min or Max.
Source position: comctrls.pp line 2001
protected property TCustomUpDown.Wrap : Boolean |
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.
|
The current position (or value) for the control as a SmallInt type. |
|
|
The largest value allowed in the Position property. |
|
|
The smallest value allowed in the Position property. |
|
|
Handles a mouse click on a speed button in the control. |
CT Web help |
CodeTyphon Studio |