problem with NumericUpDown control in CF.NET

  • Thread starter Thread starter Milsnips
  • Start date Start date
M

Milsnips

hi there,

i want to set the incremental value to be 0.1 or 0.5, but the following:

1. Decimal places do not show - and no property is available, as it is in
the full framework for destop apps.

2. When the decimal is set, the number does not increment, no matter how
many times i press it.

any help?

Paul
 
In CF.NET the control is integer only.

I was able to get around this by placing a textbox (label will work
too) over the control and sizing it so that only the arrows of the
NumericUpDown were visible. Then I set the NumericUpDown properties to
10 times the values that I wanted for min, max, etc. I captured the
control's change event and displayed the value divided by 10 in the
textbox.
 
Back
Top