MasterData band with MemoView

Hi

I'm trying another tack to build a report from code.

Create a TfrxMasterData

Add a TfrxMemoView to the master data above

Fill the memo with text.

I can get this to show in the report preview but the master data doesn't expand vertically like it would if connected to a dataset. What am I doing wrong?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:54AM
    did you set the stretch properety of the band and wordwrap of the memo ?
  • edited 6:54AM
    Hi

    Yes I had those two options set. What fixed the issue in the end was setting:

    1) MasterData.RowCount := 1;
    2) MemoView.StretchMode := smMaxHeight;

    Thanks for the response though.

    >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.