When the spin buttons on the UltraNumericEditor are set to display they hide the value in the editor when it does not have focus. Only when the editor has focus can I see the value bound to it? Why? The only way that the value in the editor is alwasy visible, which is the desired behavior, I have to remove the spin buttons. I have the autosize property set to false, and this only helped when I had spinbuttondisplaystyle set to OnMouseEnter , but when I moused over the filed, the buttons displayed over the value in the editor, whey would this occur, I did not click in the editor. How can I have the spin buttons present without them interferring with the display of the value in the editor when it does not have focus?
Thanks!
I am using a much newer version of Infragistics 17.2 and I have this same problem when setting the size of the UltraNumbericEditor to (48,20) it hides the value when focus is lost, but if the size of the control is set to (68,30) the value is properly displayed when focus is lost. Here are the properties being set for the control:
Me.updnPrexDays.Location = New System.Drawing.Point(592, 128) 'AR Me.updnPrexDays.Maximum = New Decimal(New Integer() {999, 0, 0, 0}) Me.updnPrexDays.SpinButtonDisplayStyle = ButtonDisplayStyle.Always Me.updnPrexDays.SpinButtonAlignment = ButtonAlignment.Right Me.updnPrexDays.SpinIncrement = 1 Me.updnPrexDays.PromptChar = " "C Me.updnPrexDays.SpinWrapBehavior = UltraWinEditors.SpinWrapBehavior.Default Me.updnPrexDays.MaxValue = 999 Me.updnPrexDays.NumericType = UltraWinEditors.NumericType.Integer Me.updnPrexDays.Name = "updnPrexDays" 'AR Me.updnPrexDays.Size = New System.Drawing.Size(48, 20) Me.updnPrexDays.Size = New System.Drawing.Size(68, 20) 'Works (78, 30), (68, 30)
Mike:
That is what it seems to do, reserve space for spinners even if you never use them. It also reserves too much space, meaning the box has to be larger than just what you would expect for the value and the spinners.
To download a hot fix, you have to sign on to the Infragistics web site under the account to which the Infragistics controls are registered. Presumably, they are registered to your company or someone who works there. Here's a link to download registered products and Hot Fixes.
My Infragistics Keys and Downloads - Download Anything and Everything You Own
Without seeing the problem, it's impossible for my to guess whether it's a bug or if it's fixed. It sounds to me like the text simply doesn't fit inside the available a space based on the width of the control. But I can't say for sure without seeing the exact sizes involved. It's possible that the control never paints the value into the space where the button would be - essentially always reserving space for the button.
I am fairly new to my company and therefore to Infragistics. Where would I be able to get hotfixes, or to determine if this even was a hot fix? This would be helpful for us to find if issues we see are fixed or if a we need to put an issue into your development team.
Plus, I did find that whether spinners are displayed or never displayed, that the numericeditor control will not display the value it is bound to when the field is a certain size. When it has focus it will display the value no matter what the size of the control is, therefore, it should display the value when I tabbed out of the control, but it does not. Once I expanded the control, which I do not really want to do, the value was visible. The value is a one digit number and the field has to be pretty large to see it, is this a hot fix? How can I find out?
Thanks
Obviously, there is no reason why having spin buttons should hide the value in the control. If that's happening, something is clearly wrong. Make sure you have the latest Hot Fix and if that does not help, you should Submit an incident to Infragistics Developer Support