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?
views:
246answers:
2
+2
A:
Like a NumericUpDown?
http://msdn.microsoft.com/en-us/library/system.windows.forms.numericupdown.aspx
Andrew Kennan
2008-12-05 06:15:19
It however works with the Decimal type though... so you may need to cast-recast from Float. Other than should work...
Gishu
2008-12-05 06:33:57
A pair of those might work, one to controle the value and one to control the Increment.
BCS
2008-12-05 06:42:07
The NumericUpDown control has an Increment property and a DecimalPlaces property that you may need to let the users alter somehow
Andrew Kennan
2008-12-05 06:46:56