Friends, I am using UltraMaskededit control in my window form, but I need to know how to configure the control to enter double numbers example 2,345.44.
I put in imputmask = nnn,nnn.nn, but I know how I can doto make when in edit mode and press the tab or enter is go to the next control.
When I enter an integer value 123 when I press the tab key is passed to a part of the edition of the decimal, and not the next control, then I have to press 2 times the tab key to spend the next control.
And when I press the key point, there I want to begin the editing of the decimal values.
Tanks
Use the GetText method on the ultraMaskedEdit control. The method allows you to specify which characters to include in the text.
thanks Mike it worked perfect.
I have a question again, in the control I have set the following propertiesEditAs = doubleInputMask = nnn, nnn.nn
When I'm in edit mode the mask works fine, but when I do thisdouble value = 23.00;this.txtValor.text = Convert.ToString (value);in control is displayed as follows23.How should I put the mask for each assign a value to the control this show 23.00
I don't understand what you are describing.
fsigu said:when I'm in edit mode in the control 1, and press the number 5 for expample, and if I switch to control 2, I have to press the tab key 2 times.
What do you mean by "switch to control 2?" You mean clicking on the control? Did you set TabNavigation to NextControl on all three controls?
If you are saying that you set TabNavigation to NextControl and pressing Tab is tabbing between sections and not to the next control, then that's obviously wrong. Either it's a bug in the control or your code is doing something to interfere with the tab control. But I tried this out and it works just fine for me.
What version of the controls are you using?
Tanks but not work, i have 3 controls in the form,
txtTotal1, tabindex 1 inputmask nnn,nnn.nn editas double
txtTotal2, tabindex 2 inputmask nnn,nnn.nn editas double
txtTotal2 tabindex 3 inputmask nnn,nnn.nn editas double
when I'm in edit mode in the control 1, and press the number 5 for expample, and if I switch to control 2, I have to press the tab key 2 times.
If you only press the tab key once, the cursor is placed in the integer part of the control.
Hi,
All you have to do is set the TabNavigation property to NextControl.