This question is locked. New answers and comments are not allowed.
Hi,
It seems that when using a 'Numeric' ValueFormat property for NumericUpDown control, it still accept '$' sign key on the UI and disappear after clicking either enter, escape or tab.
Is there anyway to intercept '$' sign and remove it? Otherwise, this may confuse the end user.
I have tried to use Key_Down and TextInput event but was unable to fix it.
Steps to reproduce:
1. Type some value. For example, 23.
2. Type in dollar sign at the beginning. For example, $23.
3. Continue type in the value. For example, $23.5123.
4. Click either enter, escape or tab.
OR
1. Type some value. For example, 23.
2. Type in dollar sign at the end. For example, 23$. At this point, user is disallow to add more numbers.
3. Click either enter, escape or tab.
Thanks,
Santo
It seems that when using a 'Numeric' ValueFormat property for NumericUpDown control, it still accept '$' sign key on the UI and disappear after clicking either enter, escape or tab.
Is there anyway to intercept '$' sign and remove it? Otherwise, this may confuse the end user.
I have tried to use Key_Down and TextInput event but was unable to fix it.
Steps to reproduce:
1. Type some value. For example, 23.
2. Type in dollar sign at the beginning. For example, $23.
3. Continue type in the value. For example, $23.5123.
4. Click either enter, escape or tab.
OR
1. Type some value. For example, 23.
2. Type in dollar sign at the end. For example, 23$. At this point, user is disallow to add more numbers.
3. Click either enter, escape or tab.
Thanks,
Santo