Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Minimum vertical space between three TppRichTexts

edited May 2003 in General
Well, I'm not very experienced with Report Builder. So please give me some
advice how to get a certain vertical space between three TppRichTexts.

The Report is designed this way:

[ppRichText1]

[ppRichText2]

[ppRichText3]

The property "Stretch" of all ist set to "True".
"ShiftRelativeTo" of ppRichText2 is "ppRichText1" and
"ShiftRelativeTo" of ppRichText3 is "ppRichText2".

But on runtime all TppRichTexts are printed without any space this way:

[ppRichText1]
[ppRichText2]
[ppRichText3]

Sorry, if this was a FAQ. I didn't find any answer.

Regards,
Eric

Comments

  • edited May 2003
    Eric,

    does it help if you specify a BottomOffset for ppRichtext1 ansd ppRichText2?


    HTH

    Robert

    Eric Welte schrieb:
  • edited May 2003
    Hi Robert,



    Thanks for your reply.







    But this won't work because the position of ppRichText2 depends on how much
    ppRichText1 has to stretch. Remember: All TppRichTexts are set "Streched :=
    True".



    Any other suggestion?



    Eric
  • edited May 2003
    Eric,



    Did you try to set the BottomOffset and didn't it work or are you just guessing
    that it will not work?

    If ppRichText1.Stretch is set to true, it will take as much vertical space as is
    needed to print the text. Then the BootomOffset ist applied and if
    ppRichText2.ShiftRelative = ppRichText1, then ppRichText2 will start printing at
    ppRichText1.Top+ppRichText1.Height+ppRichText1.BootomOffset


    Another possible solution ist to add a couple of empty lines to ppRichText1 and
    ppRichText2.

    But I am sure that the setting BotomOffset will do the trick.



    HTH

    Robert
  • edited May 2003
    Hi Robert,


    Yes, you are very right! Sorry, I completely missunderstood the meaning of
    "BottomOffset". A simple look into the online help would have been enough.
    As I formerly told and as you now can see: I'm not very experienced.

    So please apologize for my incompetence and thanks a lot!

    Eric
This discussion has been closed.