Rounded frame of memo

fcsfcs
edited 11:20PM in FastReport VCL 5
Hello,

Is it a possibility to draw rounded frame of memos ?

What about the possibility to add this feature ?

Regards
Michal

Comments

  • gpigpi
    edited 11:20PM
    wrote:
    Is it a possibility to draw rounded frame of memos ?
    No. Try to place rounded rectangle on TfrxMemoView
  • fcsfcs
    edited 11:20PM
    gpi wrote: »
    gpi wrote: »
    Is it a possibility to draw rounded frame of memos ?
    No. Try to place rounded rectangle on TfrxMemoView

    But the rounded rectangle can't be stretched. If the contents of memo grows the rounded rectangle has the same height.

    Regards
    Michal
  • gpigpi
    edited 11:20PM
    Use TfrxMemoView.CalcHeight to determine and set TfrxShapeView height
  • fcsfcs
    edited 11:20PM
    gpi wrote: »
    Use TfrxMemoView.CalcHeight to determine and set TfrxShapeView height

    Something like this:

    procedure Shape1OnBeforePrint(Sender: TfrxComponent);
    begin
    Shape1.height:=Memo5.Height;
    end;

    I tested this in FastReport Demo on "Memo and Pictures" report. It seems to work.

    But the nice would be have a possibility to define rounded frame for memos without necessary to add shape component.

    Regards
    Michal

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.