Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To display a spin button in an number cell

  1. Call the SSSetTypeNumberEx function and set the parameters as follows:
    1. Set the fSpin parameter to TRUE to display a spin button in the cell.
    2. 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.
    3. Set the fSpinWrap parameter to TRUE to specify that the value in the cell wraps when the cell reaches the maximum or minimum value.
  2. Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_NUMBER.
Copyright © GrapeCity, inc. All rights reserved.