Spin Edit Box - Wrap Property

Set to true to start again when either end of the range is met

Member of Spin Edit Box (PRIM_SPDT)

Data Type - Boolean

Details

The Wrap property specifies what happens when the end of a range for a spin edit is reached.
 
When set to True the value will change from the the maximum to the minimum when incremented and vice versa when decremented.

Example

In this example the spin edit has been set to its maximum value 9999999999.  When incremented the value will change to -9999999999.
Function Options(*Direct)
Begin_Com Role(*EXTENDS #PRIM_form) Height(211) Width(496) Clientwidth(480) Clientheight(172) Left(154) Top(210)
 
   Define_Com Class(#PRIM_SPDT) Name(#SpinEdit1) Displayposition(1) Left(120) Parent(#COM_OWNER) Showselection(False) Showselectionhilight(False) Tabposition(1) Top(15) Value(9999999999) Wrap(True)
 
End_Com
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2