Overlapping problem with MemoView

Hello,
we are using Fast Reports fr4_9_99_d14s and having some problem with overlaping MemoView elemtns in the PageHeader. So maybe you can help us!?

As you can see in the picture below, in the Pageheader i have inserted MemoView elements and set the alignment on the left side to baLeft and on the right side to baRight. All the MemoView elements are set to AutoWidth=true and StretchMode=smMaxHeight.

Designer.jpg

Now when i let show the ReportPreview, the MemoView elements in the PageHeader overlaps each other:

Overlap.jpg

I figgured out when i scroll down the page till the PageHeader dissapears and then scroll back, the alignment and autosize of the MemoViews works very well. But printing the report to paper also overlaps the MemoViews....

Scroll%20up.jpg

Scroll%20down.jpg

So please, can you help me!?

Thanks in advance!

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:08PM
    if you intend to have the objects stretch turn off auto width, and turn on wordwrap
    you may have to set your horizontal alignment to banone.
  • edited 11:08PM
    Thanks for the fast answer >  but your advise is just a workaround and not a solution for the problem.[img]style_emoticons/<#EMO_DIR#>/dry.gif" style="vertical-align:middle" emoid="<_<" border="0" alt="dry.gif" /> We need to have the info in the PageHeader in one line. So i think this behaviour must be a bug. Because each time scrolling the PageHeaders over the pageending and back, the alignment works very well. Printing the report to paper will overlap the MemoViews every time.[/img]
  • gordkgordk St.Catherines On. Canada.
    edited 11:08PM
    sorry you don't like the answer, but if you have memos that are auto width the data can push the memos out of place. you cannot expect to have more data(in width ) than the page width.
    I suggest that you need to place the data memo views under the static text memo views.
    you need 2 lines.
    you can also try the shift when overlapped property but i don't think it will help.
    Btw overlapped memos will lead to bad exporting
  • Anu de DeusAnu de Deus Hampshire, UK
    edited 11:08PM
    Gordon is right, you should remove all settings of type 'auto' that affect dimension or position of the elements in question, including alignments. And personally, I would also set the wordwrap to false.
    By doing that, you would be closer to a WYSIWYG report, i.e. nothing at runtime would change your elements, which is what you want, right?
    And ignore the fact that scrolling the preview up and down changes what you see on screen sometimes, that's just some painting buffer out of sync, it happens to a lot of good software.

  • edited 11:08PM
    Thanks again for the fast answers and helps.
    I solved the problem like gordk say using 2 lines instead of 1. Then it works perfect with the alignment.

    Thanks and kind regardes >

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.