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
  • 53790
    Suggested Answer
    posted

    Hello Dadero,

    I try to reproduce your scenario in a small sample, but without success.  In the sample I used the latest version 9.2.20092.2119. Could you please tell me what is your current version ? If you are using older version, you could download the latest service release from our site: Infragistics.com -> MyIG -> My Keys and Downloads.  Please take a look at the attached sample and video file and if you think that I didn`t reproduce your scenario, feel free to modify my sample and revert it back to me. I`ll be glad to research it.

    If you have any questions, do not hesitate to write us

    Regards

    UltraMaskEditorLeftAligment.zip
Reply Children