views:

246

answers:

2

I have .NET app with a floating point value that I want to adjust up and down by a user adjustable increment with something like a spinner control. Before I go off and build my own, does something like this already exist?

+2  A: 

Like a NumericUpDown?

http://msdn.microsoft.com/en-us/library/system.windows.forms.numericupdown.aspx

Andrew Kennan
It however works with the Decimal type though... so you may need to cast-recast from Float. Other than should work...
Gishu
A pair of those might work, one to controle the value and one to control the Increment.
BCS
The NumericUpDown control has an Increment property and a DecimalPlaces property that you may need to let the users alter somehow
Andrew Kennan
A: 

DevExpress have such a SpinEdit component in their suite

Conrad