RTL for AR Controls in SectionReports

Posted by: mlk20 on 18 February 2021, 12:35 am EST

    • Post Options:
    • Link

    Posted 18 February 2021, 12:35 am EST

    Hi,

    Can you please advise how to use RightToLeft mode for AR Controls (TextBox, Label, CheckBox, RichTextBox, Subreport, …) in SectionReports?

    If the application is set to use RTL (e.g. Thread.CurrentThread.CurrentUICulture.TextInfo.IsRightToLeft) then how should these AR controls behave? Should they be automatically set to “right to left mode” (by Active Reports internal code) when e.g. constructor of the control is invoked? or maybe should the setting of “right to left mode” for the control be done manually by the application that uses these controls?

    There is e.g. RightToLeft property for a TextBox (((TextBox)control).RightToLeft = true). Should it be set it enable “right to left mode” for a textbox?

    There are other controls that do not have “RightToLeft” property (as TextBox has). How can they be set to “right to left mode”? Can you please advise for each and every control how to configure it propertly for RTL?

    Regards,

    Krupek

  • Posted 18 February 2021, 12:37 am EST

    This is the corret post - sorry for the duplicates.

  • Posted 20 February 2021, 6:42 pm EST

    Hello,

    You need to set the “RightToLeft” of the control to “True” to show the RightToLeft layout. Also, for other control like

    RichTextBox- You need to upload the RTF file with RightToLeft content.

    BarCode- You can set the Alignment property to ‘Far’

    Chart- You can change the Label/Legend position as per your requirement.

    Hope it helps.

    Thanks,

    Mohit

  • Posted 22 February 2021, 10:54 pm EST

    What about CheckBox and SubReport controls that do not have RightToLeft property?

  • Posted 23 February 2021, 7:24 pm EST

    Hello,

    For CheckBox, you can change the alignment of the Check to MiddleRight.

    For SubReport control, you need to create the Subreport RTL and assigned the report to SubReport control.

    Thanks,

    Mohit

  • Posted 31 May 2021, 12:09 am EST - Updated 30 September 2022, 7:41 am EST

    Hello

    Solution for CheckBox does not work. After inserting Hebrew text, single characters are displayed in incorrect order. Please check attached file.

    Thank You

  • Posted 31 May 2021, 3:57 pm EST - Updated 30 September 2022, 7:41 am EST

    Hello,

    Issue is not reproducible with the latest version of AR. I would request to upgrade to latest version of AR i.e AR15 to avoid this bug.

    Thanks,

    Mohit



    rpt_hebrew.zip

Need extra support?

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

Learn More

Forum Channels