开发者

Report Builder Spacing DBMemo Delphi

I am using a DBMemo (TPPDBMemo) component in reportbuilder within delphi. The Stretch property is true but the control doesn't always stretch itself out correctly within the region.

For example if there is lower case text, that dips downward, eg, chars like p,g,q... The bottom part of the text will get cut off if it's on the last line.

I tried adding an event to the onPrint to slightly grow the DBMemo when it prints,

    procedure Tfrm.ppDBMemPrint(Sender: TObject); 
    begin
          ppDBMem.Height := ppDBMem.Height + 10;
    end;

But this didn't work.

Any thoughts on how this can be achieved. If I could simply add a border to the DBMemo that would be ideal, although I do not see that property anywhere.

Tha开发者_开发问答nk you!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜