I have set the UltraNumericEditor to a NumericType of double but no matter what I use for the MaskInput, I can't get it to accept a number greater than zero. Specifically, I am trying to set it to a value of 26.028 and whether I use the .Value property or the .Text property, the value that is shown in the debugger is always zero.
How can I get it to accept the number 26.028?
The obvious property to look at would be MaxValue. But if that's not what it was, then I don't know what other property would cause this.
Thanks Elizabeth for your prompt reply. I had copied an instance of the UltraNumericControl and it, apparently, had some obscure setting that prevented it from accepting a number greater than zero.
Then I created a test app and after dragging the control from the toolbox and setting it to double I had no problem at all in getting it to accept any number. I still don't know what was set in the other instance to cause that behavior.
Thanks again for your help!
Hello pensatrice,
I have attached a sample that shows how to allow both the user to input a double value, and also how to set it through code (a button click event).
If this does not help, could you please explain what is different in your application?
Elizabeth AlbertLocalization Engineer