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
835
UltraNumericEditor prevent focus
posted

How do I prevent an UltraNumericEditor control from getting focus?

I have set the control Read Only, but that doesn't seem to prevent focus.

If I catch the Enter event, I can give focus to a different control.  However, if I do that the UltraNumericEditor control loses it's formatting!

The FormatString I have on the control is $###,###,###.  With a value of 1,000, it displays properly '$1,000'.  When I click on the control it changes to '1000'.  Focus is given to another control, but the text stays unformatted. 

Suggestions?

Parents Reply Children