problem with NumericUpDown control in CF.NET

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
 
L

LostAtC

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top