Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
UltraNumericEditor - Integer - Highlight all text or Blank out default value
posted

I have a UltraNumericEditor of  NumericType Integer.The Value is 0(control default).

When the control gains focus, I want the default value of 0 to be highlighted.(Similar to what happens when we tab into a textbox).

I tried SelectAll() . SelectionStart etc: , to no avail. I tried Enter, Focus events..

Or I need to blank out the default value of 0. I couldn't find a way to do this.

I am expecting the user to enter an integer other than zero. Making Nullable true is not an option.I have been specifically asked not to do this.

Any help would be appreciated.Thanks!