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

Lots of white space

edited November 2001 in General
Hi,
I have a report with sevaral regions. I create a lot of components
runtime. In my report I have set the height of my regions to 5mm, with
an BottomOffset of 6. However, when i create a Memo M, with the settings

M.ShiftWithParent := False;
M.StretchWithParent := False;
M.Stretch := True;

the reports is created with a lot of unnecessairy whitespace.

what can be the problem here?

FYI: Delphi 4, Win2000, RB6.02
BTW, if you want I can post a screendump.

Greetinx,

Joost

Comments

  • edited November 2001
    You shouldn't have to set StretchWithParent at all. Is there a bottom
    offset on the memo? Has the memo been assigned to the region? Set M.Region
    = myRegion1 to assign the memo to the region. Basically it is setting up
    the parentage. All controls you would like to be in the region need to have
    their region property set.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.