Version

Incrementing the Spin Value (WinNumericEditor)

This topic applies to the following WinEditor™ controls:

  • WinCurrencyEditor™

  • WinDateTimeEditor™

  • WinMaskedEdit™

  • WinNumericEditor™

The WinEditor™ control allows a user to change a value incrementally with the arrow keys and the spin buttons. In order to increment by values other than one you will need to set the SpinIncrement property to a non-negative, rational value.

Note
Note

For more information on additional tasks required to set the SpinIncrement for WinMaskedEdit, see Incrementing the Spin Value (WinMaskedEdit).

The following example code demonstrates how to increment WinNumericEditor’s Value by 11.

In Visual Basic:

Me.UltraNumericEditor1.SpinIncrement = 11

In C#:

this.UltraNumericEditor1.SpinIncrement = 11;