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
150
leftalign text in UltraMaskedEdit
posted

Hello,

 

I'm using an UltraMaskedEdit with

inputmask="n.nnn" 

tabnavigation = nextcontrol

Appearance.TextHAlign=Left

When the control does not have te focus, then the text in it is left-aligned, as I want it!

On the ENTER and the CLICK event, I set the appearance.textHAlign for all sections to left and I also call the SelectAll, so that all text is selected and overwriten when the user start entering text.

All this works fine, but there is one problem: when the control gets the focus, the text in the control is always right-aligned. Why is this? How can I avoid it?

I'm using Infragistics 9.2.

Thanks in advance.

Parents Reply Children
No Data