TfrxMemoView StretchMode using the multi-byte characters

igyigy
edited 2:10AM in FastReport VCL 5
When Set TfrxMemoView StretchMode property to smMaxHeight using the multi-byte characters (Japanese), it is not properly adjusted height.
VCL Edition only, it happens.
FMX Edition is correctly adjusted height.

Preview Image

Comments

  • gpigpi
    edited 2:10AM
    Attach your report template (fr3) and prepared report (fp3) here
  • igyigy
    edited 2:10AM
    Thank you for the reply.

    I attached each 5 files.

    I Used Japanese Font(Meiryo, MS Gothic, MS Mincho, MS PGothic, MS PMincho).
    fr3.zip 16.7K
  • gpigpi
    edited 2:10AM
    Try to use latest FR 5.5.11 - it works OK for me
  • igyigy
    edited 2:10AM
    Thank you for the reply.

    I Saved prepared report(fr3) FastReport 5.5.11.

    When load prepared_Stretch_meiryo.fp3 in the preview window,
    It was supposed to be two lines from line 11 to 20, but it was only one line high.

    Windows 7 (Japanese version)
    Delphi XE (Japanese version)
  • gpigpi
    edited 2:10AM
    wrote:
    When load prepared_Stretch_meiryo.fp3 in the preview window,
    It was supposed to be two lines from line 11 to 20, but it was only one line high.
    You should rebuild report in the latest FR, don't use old prepared report (fp3). This old prepared report will not change objects positions and sizes
  • igyigy
    edited 2:10AM
    Thank you for the reply.

    I rebuilded report in the latest FR, but Same Result.
  • gpigpi
    edited 2:10AM
    See my report template and prepared report - works OK for me. I can't to prepare report with your fr3 - no data from TFrxReport.OnGetValue
  • igyigy
    edited March 2017
    Thank you for the reply.

    I attached test_project.
  • gpigpi
    edited 2:10AM
    Confirmed. Doesn't works with TfrxReport.OnGetValue, but works with report script. See attach
  • igyigy
    edited 2:10AM
    gpi wrote: »
    Confirmed. Doesn't works with TfrxReport.OnGetValue, but works with report script. See attach

    Thank you.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.