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
50
Cursor hide first character
posted

Hi,

I'm searching for a solution of a problem, when I click on a cell in an UltraGrid, the cursor blink on the first character. 

I want to add a little space between the character and the cursor.

please see the attached file to understand my problem

Any suggestion ? 

Thank you

Parents
  • 4625
    Verified Answer
    Offline posted

    Hi Issam,

    When grid’s cell enters into edit mode, actually Microsoft’s TextBox shows up and as far as I know it does not have easy way of setting padding. Looking into the attached screenshot, it looks that the grid is right to left and therefore the TextBox inherits that as well.

    The first suggestion and easy to be implemented that I can think of, is to set the internal TextBox’s RightToLeft property to No. This way the text will appear on the left side but it would be easier to distinguish the cursor from the text and the border.

    Look at the attached sample and let me know what you think.

    UltraGridCursorPosition.zip
Reply Children
No Data