Problem with memo not stretching in header.
I have a very simple report in RB 7.03/D6 SP2. It has a ppMemo in the
"header" portion, set to "stretch", to accomodate a variable number of lines
in the document title. Also in the "header" portion are fields below the
ppMemo, as headers for the grid, and then the "detail" line has the row
values. Couldn;t be simpler.
The problem is, the memo isn't stretching, and the last few lines are
overwriting the grid headers. What have done wrong? I tried selecting all
the grid header stuff and setting it to "shift with parent", but it didn't
make any difference.
Barry
--
Dr Barry Clark
Senior Lecturer & IT Systems Designer
Medical Education Unit
Wolfson Medical Building
University of Glasgow
Glasgow G12 8QQ
Tel: 0141-330-4248
Email: b.clark@clinmed.gla.ac.uk
"header" portion, set to "stretch", to accomodate a variable number of lines
in the document title. Also in the "header" portion are fields below the
ppMemo, as headers for the grid, and then the "detail" line has the row
values. Couldn;t be simpler.
The problem is, the memo isn't stretching, and the last few lines are
overwriting the grid headers. What have done wrong? I tried selecting all
the grid header stuff and setting it to "shift with parent", but it didn't
make any difference.
Barry
--
Dr Barry Clark
Senior Lecturer & IT Systems Designer
Medical Education Unit
Wolfson Medical Building
University of Glasgow
Glasgow G12 8QQ
Tel: 0141-330-4248
Email: b.clark@clinmed.gla.ac.uk
This discussion has been closed.
Comments
Try placing your grid headers inside a TppRegion, then setting the region to
ShiftWithParent. In my testing this seemed to solve the problem.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
common task? I always have spacing/alignment problems with TppRegion - I'll
probably end up with a gap at the top of the grid! In CR I'd just add a
header region and this would happen automatically.
I'm back to my uncertainties about RB vs CR... CR's regions size, stretch
and align automatically, and can be set to hide automatically if the
contents are blank, rather than having to program this. Could this be added
as feature to RB? At least for me, this would be a killer feature.
Another problem I have constantly with RB is when dragging to space the grey
header/detail separator bars (for example). You really need a nudge on them
as it doesn't seem possible to get the spacing pixel perfect when dragging
with the mouse. Do they snap to something?
Barry
small enough to allow the header grid to touch the detail grid. It is a pity
you can't insert header regions, like you insert group headers. Is this on
the cards?
Barry
--
Dr Barry Clark
Senior Lecturer & IT Systems Designer
Medical Education Unit
Wolfson Medical Building
University of Glasgow
Glasgow G12 8QQ
Tel: 0141-330-4248
Email: b.clark@clinmed.gla.ac.uk
Thanks for the suggestion. There probably should be a way to insert header
regions as you described. I will note your suggestion in our wish list for
a future release.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com