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

Aligning label with stretching memo's

edited January 2002 in General
I have 5 memo fields on a page (3 on the left, 2 on right), each with
a label that shows what type of memo each is. They all shift relative
to each other quite nicely, and I have all 5 in a region so that a
sub-report below it shifts properly, like this:

Label1 memo1 xxxx Label2 memo2 xxx
xxxxxxxxxxxx xxx xxx xxx x
Label3 memo3 xxxx xxxxxxxx
Label5 memo5 Label4 memo4

The problem is that I cannot find a way to shift the labels up or down
to line up with the top of their corresponding memos. I have tried
setting Label1.Top:=Memo1.Top in the BeforeGenerate and BeforePrint
events of that detail band, but the labels never move.

Any suggestions?

(Using RBPro 5.56 with D5.)

Gene Weinbeck
gene@FundRaiserSoftware.com
Professional Support Software

Comments

  • edited January 2002
    I should have mentioned that I have tried setting the labels'
    ShiftWithParent property to true, but what I get is:

    Label1 memo1 xxxx Label2 memo2 xxx
    xxxxxxxxxxxx xxx xxx xxx x
    memo3 xxxx xxxxxxxx
    memo5 memo4
    Label3 Label4
    Label5

    Instead Of

    Label1 memo1 xxxx Label2 memo2 xxx
    xxxxxxxxxxxx xxx xxx xxx x
    Label3 memo3 xxxx xxxxxxxx
    Label5 memo5 Label4 memo4

    (the labels shift below the last memo. Perhaps the answer to my
    question is how to set the parent of a label to the correct memo?)

    Thanks,

    Gene Weinbeck
    gene@FundRaiserSoftware.com
    Professional Support Software
  • edited January 2002

  • edited January 2002
    "Bruce Roberts" wrote:


    Good idea, but because I have a sub-report below the two columns of
    memo's that needs to shift relative to the longest column, I have the
    whole set of memo's in a region now. According to Help, you can't
    have nested regions (unless that's changed in 6.x) . Any thoughts
    about that?

    Thanks,

    Gene Weinbeck
    gene@FundRaiserSoftware.com
    Professional Support Software
  • edited January 2002
    RB 6 doesn't add support for nested regions.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2002

  • edited January 2002
    "Bruce Roberts" wrote:


    Of course. Thanks. It works fine.

    Gene Weinbeck
    gene@FundRaiserSoftware.com
    Professional Support Software
This discussion has been closed.