Hi,
When the UltraNumericEditor is set to accept decimal input, hitting the TAB key when the control is in edit mode (and the cursor is to the left of the decimal point) causes the cursor to move to the other (right) side of the decimal point.
How can I change this such that hitting the TAB key when the control is in edit mode will cause focus to move to the next control on the form?
Thanks,
Scott
Hello Scott,
Could you please try the following code sample and see if it meets your requirements:
<
foreach (Infragistics.Win.UltraWinMaskedEdit.KeyActionMapping kam in ultraNumericEditor1.KeyActionMappings) { if (kam.ActionCode == Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction.NextSection) kam.ActionCode = Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction.NextControl; }
Please feel free to let me know if I misunderstood you or if you have any other questions.
Hello again,
Another approach regarding this might be the following:
ultraNumericEditor1.TabNavigation = Infragistics.Win.UltraWinMaskedEdit.MaskedEditTabNavigation.NextControl;
Please do not hesitate to contact us if you need any additional assistance.
Yep, went with the second option - worked perfect! Thanks!!