stretching memos in regions
Hello,
I have a problem that is rather more complicated than the one before.
I have a band B1 in which I have set Two regions R1 and R2 that have the
same top, i.e.
R1 is in front of R2 (but R1 and R2 can have different heights).
Each region Ri contains a shape Spi that is stretching with Ri.
In R1, I have five memos dbme11, dbme12, me13, me14 and dbMe5 that must sit
in the
Shape Sp1 :
dbme11 is on the top.
dbme12 is under and shiftrelatedto dbme11,
me13 is under and shiftrelatedto dbme12, and
me14 and dbme15 are both under and shiftrelatedto me13.
In R2, I have eight memos me21, dbme22, me23, dbme24, me25, dbme26, me27
and dbme28
that must sit in the Shape Sp2 :
me21 and dbme22 are on the top of R2
me23 and dbme24 are under and shiftrelatedto dbme22,
me25 and dbme26 are under and shiftrelatedto dbme24,
me27 and dbme28 are under and shiftrelatedto dbme26,
B1 looks a bit like this at designtime in the conception window :
-------------------- -----------------
| dbme11 | | me21 dbme22 |
| dbme12 | | me23 dbme24 |
| me13 | | me25 dbme26 |
| me14 dbme15 | |me27 dbme28 |
-------------------- -----------------
All the dbmeij memos are stretchable and eventually empty.
All the meij memos are fixed at design-time, except me13 that is stretchable
because
the me13.Text is a memo that is set at run-time.
I didn't find how to replace me14 and use this memo with a fixed caption as
a label.
(If I use me14 as a Tpplabel (let say lb14), the shiftwithparent=True for
lb14 will put
my label out of the shape, and the shiftwithparent=False will not allow the
me14 component
to shift relatively to dynamic height of me13).
I have a problem if dbme12 or dbme11 are (both) empty, because I want to
have in this case a lay out with some space above me13. Is there an easy
way to Solve this problem ?
If I use multiple regions the shapes Sp1 and Sp2 will then have to be out of
these regions and then both stretchable relatively to the parent band B1. I
will thus loose the independance of height between
Sp1 and Sp2, that is why I use only two regions.
Moreover, I don't know how to add some text me13 so that
the result of me13.Text:=me13.Text + 'MyNewText' doesn't add a line
and put 'MyNewText' on a new line, but this may be not a question for a
ReportBuilder
NewsGroup.
Thank you for your cooperation,
Xavier Droubay
I have a problem that is rather more complicated than the one before.
I have a band B1 in which I have set Two regions R1 and R2 that have the
same top, i.e.
R1 is in front of R2 (but R1 and R2 can have different heights).
Each region Ri contains a shape Spi that is stretching with Ri.
In R1, I have five memos dbme11, dbme12, me13, me14 and dbMe5 that must sit
in the
Shape Sp1 :
dbme11 is on the top.
dbme12 is under and shiftrelatedto dbme11,
me13 is under and shiftrelatedto dbme12, and
me14 and dbme15 are both under and shiftrelatedto me13.
In R2, I have eight memos me21, dbme22, me23, dbme24, me25, dbme26, me27
and dbme28
that must sit in the Shape Sp2 :
me21 and dbme22 are on the top of R2
me23 and dbme24 are under and shiftrelatedto dbme22,
me25 and dbme26 are under and shiftrelatedto dbme24,
me27 and dbme28 are under and shiftrelatedto dbme26,
B1 looks a bit like this at designtime in the conception window :
-------------------- -----------------
| dbme11 | | me21 dbme22 |
| dbme12 | | me23 dbme24 |
| me13 | | me25 dbme26 |
| me14 dbme15 | |me27 dbme28 |
-------------------- -----------------
All the dbmeij memos are stretchable and eventually empty.
All the meij memos are fixed at design-time, except me13 that is stretchable
because
the me13.Text is a memo that is set at run-time.
I didn't find how to replace me14 and use this memo with a fixed caption as
a label.
(If I use me14 as a Tpplabel (let say lb14), the shiftwithparent=True for
lb14 will put
my label out of the shape, and the shiftwithparent=False will not allow the
me14 component
to shift relatively to dynamic height of me13).
I have a problem if dbme12 or dbme11 are (both) empty, because I want to
have in this case a lay out with some space above me13. Is there an easy
way to Solve this problem ?
If I use multiple regions the shapes Sp1 and Sp2 will then have to be out of
these regions and then both stretchable relatively to the parent band B1. I
will thus loose the independance of height between
Sp1 and Sp2, that is why I use only two regions.
Moreover, I don't know how to add some text me13 so that
the result of me13.Text:=me13.Text + 'MyNewText' doesn't add a line
and put 'MyNewText' on a new line, but this may be not a question for a
ReportBuilder
NewsGroup.
Thank you for your cooperation,
Xavier Droubay
This discussion has been closed.
Comments
saw this new post.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com