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
873
Numpad key decimal '.' not working with UltraTextEditor
posted

Hello all,

we use the UltraTextEditor as the editor controls on string columns in our UltraGrid control. By using this control, we noticed that the Numpad key decimal is not working. If the key decimal on the main keyboard is used, the decimal is is added to the cell. 
I found out that when the UltraFormattedTextEditor is used as the editor control instead, the numpad key is working. So, the problem is related to the UltraTextEditor. During my analysis I recognized that when I push the numpad key decimal the UltraTextEditor KeyDown event is fired, but not the KeyPress event, which is fired by using every other key on the keyboard - for example, the decimal key on the main keyboard.

KeyDown event of the UltraTextEditor when the numpad key decimal is pressed:

How can I enable the UltraTextEditor to accept also the numpad key decimal '.'?

 This is how the UltraTextEditor is created:

new UltraTextEditor()
            {
                WordWrap = false,
            };

Thank you and best regards

Parents
  • 7595
    Offline posted

    Hello Rainer,

    Thank you for your post. In order to understand the issue i set up a demo sample using V23.1 of UltraGrid containing ultraTextEditor as a EditorComponent and when i run the sample and try to edit the cell with decimal value its all working fine. 

    The ultraTextEditor  is accepting the decimal (.) from the keyboard. 

    I attached my demo sample here , let me know if your scenario and test steps are different . Feel free to modify the sample and send me back reproducing the issue for further investigation.

    Thank you.KeySample.zip

Reply Children
No Data