Right2Left Text Problem in VSFlexGrid

Originally Posted 25 June 2015, 5:07 am EST

  • Originally Posted 25 June 2015, 5:07 am EST

    Hi,
    For last several years my project was using VSFlexGrids for ActiveX (vsflex8.ocx and vsflex8n.ocx) on VS2005 VB controls running on WinXP x86 platform. This application presents grids with right to left directed text(Hebrew). It worked absolutely properly.
    Now this project was upgraded to VS2010 and is intended to run on Win7 x64 platform. After this upgrading all grids have been disappeared from application presentation and as a solution I have purchased the last version of VSFlexGrids for ActiveX. Now all grids are shown but a problem with proper text presentation has appeared.

    The problem is wrong order of combined Hebrew text with special symbols like ',),". in spite of RightToLeft=True property in grid as like as in parent VB form. I must say that such problem is appearing in other Winform controls till their RightToLeft prop set to False but setting it to True solves the propblem. In new VSFlexGrid controls it looks like this prop arranges columns order only but not text inside.
    I tried all types of VSFlexGrids (Unicode,Unicode Light and others). It didn't help!
    Is there solution for this problem? Is there bug in new VSFlexGrid?
    Thanks!
  • Reply

    Hi,

    I could not replicate the problem in a simple application at my end. Since I do not have much knowledge of the Hebrew language, could you please modify the attached application and send back to me so that I can reproduce the problem further at my end and assist you at the earliest?

    Also, please share the build version of VSFlexGrid with which the RightToLeft functionality was working correctly at your end.

    This will help me in narrowing down the issue.

    You may also try using the latest build of VSFlexGrid (if not doing already) and see if the problem persists. You can download it from here:
    http://prerelease.componentone.com/activex/c1flexgrid/c1flexgrid%208.0/2014-t1/

    Thanks and Regards,
    Pragati Kaushik
    2015/06/VSFlex_RightToLeft.zip
  • Reply

    Hi,

    Thank you for providing the screenshot.

    I tried entering the same text in the cells of the grid, however could not observe any difference while setting RightToLeft property to true in the older (2006 as you mentioned) and the latest builds. You are requested to modify the attached application and send back to me so that I can replicate the issue at my end and assist you accordingly.

    Thanks and Regards,
    Pragati Kaushik
    2015/06/Modified_VSFlex_RightToLeft.zip
  • Reply

    Hi,
    I saw your attached example and there is not the same Hebrew text combination that presents the problem. Please see again the screenprint that I sent you earlier and try repeat it exactly. It may be all combinations of Hebrew letters with special symbols at the end. If as you say you have a problem in older version same as in newest version so we yet have some bug that must be fixed.
    Thank you for help!
  • Reply

    Hi,

    Since we do not have knowledge of Hebrew language and the screenshot you shared does not allow to copy the contents in the grid, it would be difficult for us to try out the same hebrew letters at our end. You are requested to share the exact Hebrew text or some equivalent English text so that we can try reproducing the problem at our end and assist you further at the earliest.

    Please note, unicode version of VSFlexGrid (VSFlex8u or VSFlex8n) is specifically designed to support different langauges. Therefore, we would also request you to test the bevahior with these versions as well (if not done earlier).

    Thanks and Regards,
    Pragati Kaushik

  • Reply

    Hi,

    Yes, it's great idea! So I give you here 4 examples of problematic Hebrew texts:

    מה?

    כן!

    מס'

    (לוח) גב

    This form also does not support RightToLeft mode so it's exactly reproducing my problem with recent FlexGrids controls. Please try to copy them to your FlexGrids controls of different versions and apply RightToLeft=True prop on them. Do you see any difference in symbols order?
    Also copy this examples into some WinForm text control such as TextBox. After you apply RightToLeft=True prop on it you will see it arranges the text correctly - ?, !, ' symbols will jump to the left side of word and brackets will close the first word form right.

    Thank you!
  • Marked as Answer

    Reply

    Hi,

    Thank you for providing the sample text.

    I have tried loading the same in the unicode version of VSFlexGrid, however could not observe any difference in the older 2006 and newer 2014 builds. Please refer to the attached screenshot demonstrating the comparison in both the builds with RightToLeft set to true/false and the application used for testing the behavior.

    You are requested to modify the attached application and send back to us along with the machine environment (OS, architecture and locale) so that we can reproduce the issue and assist you further.

    Thanks and Regards,
    Pragati Kaushik


    2015/07/VSFlex_RightToLeft.zip
  • Reply

    Thank you for reply!
    As you asked I post picture example of the problem!
    In the upper form you can see correct work of RightToLeft prop in the old version (version num is described in caption)
    In the lower form you can see incorrect work of RightToLeft prop in last version of VSFlexGrid that you offered to download in your post (same as we worked with)
    Hope this will help you to understand the problem.
    Thanks!

Need extra support?

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

Learn More

Forum Channels