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
890
UltraNumericEditor - Stop a TAB keypress from moving to the other side of the decimal point?
posted

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

 

Parents
No Data
Reply
  • 71886
    Offline posted

    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.

Children