C1TextBox cursor caret not visible in RTL or Right Aligned Text

Posted by: mkhalid on 16 November 2017, 9:11 pm EST

    • Post Options:
    • Link

    Posted 16 November 2017, 9:11 pm EST

    Once we set the font in the code behind, and the Textbox is right-to-left or right aligned the caret is barely visible as shown in the sample attached.

  • Posted 16 November 2017, 9:12 pm EST

  • Posted 19 November 2017, 8:24 pm EST

    Hello,

    Thanks for sharing the sample project. However, we could not replicate the issue at our end. The caret is clearly visible, as can be seen in the attachment.

    Please refer the same and let us know if we are missing on anything in order to replicate the issue. This will help us assist you further.

    Best Regards,

    Esha

    C1TextBox.zip

  • Posted 21 November 2017, 6:44 am EST

    Hello Esha,

    You need to change the keyboard language to Arabic Saudi Arabia to see the difference.

    Please press ALT + SHIFT to switch the keyboard and see the caret.

  • Posted 21 November 2017, 6:58 am EST

    Please see the attachment

    cursor.zip

  • Posted 21 November 2017, 3:44 pm EST

    Hi,

    Thank you for sharing the attachment. We could observe the issue at our end and have escalated (Internal Tracking ID: 298216) it to the concerned team.

    We will get back to you once we hear from them.

    Regards,

    Esha

  • Posted 2 March 2018, 9:29 pm EST

    Please let me know, if this has been fixed?

  • Posted 4 March 2018, 2:54 pm EST

    Hello,

    The devs have approved of the issue and are working on the same. We will let you know once the issue is fixed.

    Best Regards,

    Esha

  • Posted 22 May 2018, 1:38 am EST

    Do you have time-frame, when will issue will be fixed?

  • Posted 22 May 2018, 2:06 pm EST

    Hello,

    As per the developers, the issue will be fixed in the 2018v2 release of WinForms.

    We will notify you once the build containing the fix is released.

    Thanks,

    Esha

  • Posted 18 October 2018, 6:30 pm EST

    Please confirm if this issue has been fixed?

  • Posted 22 October 2018, 7:43 pm EST

    Hello,

    I am sorry but this issue is not fixed with the latest release 4.0.20182.320 builds. I am discussing with the development team regarding the fix.

    Regards,

    Esha

  • Posted 25 October 2018, 3:41 pm EST

    Hello,

    As per the development team:

    [i]The original cause of the issue is related to MS TextBox control’s BorderStyle property.

    When we assign the BorderStyle.None value to the property, we’ll see the same result.

    C1TextBox is inherited from MS TextBox and we set its BorderStyle property to None internally.

    We use this value because MS TextBox does not draw properly its border with some values, e.g. Fixed3D, so we use our own implementation of BorderStyle property and drawing of the border.

    For the current issue, we can propose the workaround - cast C1TextBox to MS TextBox and assign Fixed3D border style to it.

    [/i]

    A sample implementing the workaround (C1TextboxCurserErrorProjcet_workaround.zip) is attached for your reference.

    Thanks,

    Esha

    C1TextboxCurserErrorProjcet_workaround.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels