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
110
Overwrite Mode vs. Insert Mode
posted
Hi,
on my entry form I have several fields which consists of just one or two characters of length. My users want to click on the field and immideately want to start typing, overwriting the old value. But at the moment (standard setting?) the character's are inserted - so I would need an option for telling the editor field (UltraTextEditor, UltraDatetimeEditor and UltraNumericEditor)  to start in overwrite- not insert mode if getting focus.
Unfortunately I could't find one - as this is a very common thing to do I just can't believe that you do not support this, so please - guide me in the right direction,
 
thanks Klemens
Parents
No Data
Reply
  • 820
    posted

    This works for me:

    private void dueDateUltraDateTimeEditor_AfterEnterEditMode(object sender, EventArgs e)
    {

    dueDateUltraDateTimeEditor.PerformAction(Infragistics.Win.UltraWinMaskedEdit.

    MaskedEditAction.ToggleInsertionMode, false, false);

    }

Children