Spread 8.0 Documentation
|
|
DLL
|
Support Options
|
DLL
To display a spin button in an number cell
-
Call the SSSetTypeNumberEx function and set the parameters as follows:
- Set the fSpin parameter to TRUE to display a spin button in the cell.
- Set the SpinInc parameter to specify the amount by which the value in the cell is incremented or decremented when the user clicks the spin button.
- Set the fSpinWrap parameter to TRUE to specify that the value in the cell wraps when the cell reaches the maximum or minimum value.
- Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_NUMBER.