Two Memo Object Stretch together

edited October 2015 in FastReport 4.0
Dear All,

Urgent!

I have a report using two memo object, only one object will change the high of the memo, since this a form I want to set two memo object stretch together.

How to do it?

Example:

memo a : text - Payment Terms
memo b : formula - [INVOICE."PAY_TERMS"]

memo a will stretch according to the high of the memo b

Best Regards

Leslie

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:45AM
    Set memo's stretchmode property to smmaxheight.
  • edited 11:45AM
    gordk wrote: »
    Set memo's stretchmode property to smmaxheight.

    Dear gordk,

    Both memo a and memo d already set to stretchmode (smmaxheight), but it still not work.

    Please see attached image!


    Best Regards

    Leslie
  • edited 11:45AM
    pcleslie wrote: »
    pcleslie wrote: »
    Set memo's stretchmode property to smmaxheight.

    Dear gordk,

    Both memo a and memo b already set to stretchmode (smmaxheight), but it still not work.

    Please see attached image!


    Best Regards

    Leslie

    Dear gordk,

    If set the stretchmode='smActualHeight', also not work!

    Please see attached image!

    Best Regards

    Leslie


  • gordkgordk St.Catherines On. Canada.
    edited 11:45AM
    Post a copy of your .fr3 file here
    remember that the engine processes objects in the band from left to right in order of creation.
  • edited 11:45AM
    gordk wrote: »
    Post a copy of your .fr3 file here
    remember that the engine processes objects in the band from left to right in order of creation.

    Dear gordk,

    FR3 file uploaded, please check it!

    Best Regards

    Leslie
  • gordkgordk St.Catherines On. Canada.
    edited 11:45AM
    why are you posting in this forum the report you sent was built with fr5.12
  • edited 11:45AM
    gordk wrote: »
    why are you posting in this forum the report you sent was built with fr5.12

    Dear gordk,

    Sorry, I forgot my fastreport version is 5.2, next time I will post my question in forum Fastreport version VCL 5.2.

    Can you solve the problem?

    Best Regards

    Leslie

  • gpigpi
    edited 11:45AM
    Move right set of the memos to subreport, place each pair of memos on the stretched band, set the stretchmode to smActualHeight
    Set TfrxSubReport.PrintOnParent to True

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.