Rounded frame of memo

fcsfcs
edited 6:32AM 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 6:32AM
    wrote:
    Is it a possibility to draw rounded frame of memos ?
    No. Try to place rounded rectangle on TfrxMemoView
  • fcsfcs
    edited 6:32AM
    gpi wrote: »
    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 6:32AM
    Use TfrxMemoView.CalcHeight to determine and set TfrxShapeView height
  • fcsfcs
    edited 6:32AM
    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