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.
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
When the inputmask I use is nn.nnn, and the formatstring is set to 0.000 then you see the difference when the control has the focus or not.
I would like that when the value is 1.1 and the control has the focus it looks like
'1.100' and not like
' 1.100'.
When the control does not have the focus it looks like '1.100' because I set the formatstring to 0.000.
Is this possible to do?
Thanks