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 6:18AM
    Set memo's stretchmode property to smmaxheight.
  • edited 6:18AM
    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 6:18AM
    pcleslie wrote: »

    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 6:18AM
    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 6:18AM
    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 6:18AM
    why are you posting in this forum the report you sent was built with fr5.12
  • edited 6:18AM
    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 6:18AM
    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