Default MemoView Heigth in Designer

Hi,

is there a way to change the default height (0.5cm) of new inserted MemoViews in the FastReport designer to 0.4cm?
We use FR 5.0.10 / XE3.

Best regards,
Tom

Comments

  • gpigpi
    edited 1:02PM
    Modify frxDesgn.pas:
    function TfrxDesignerForm.GetDefaultObjectSize: TfrxPoint;
    begin
      case FUnits of
        duCM:     Result := frxPoint(fr1cm * 2.5, fr1cm * 0.5);
        duInches: Result := frxPoint(fr1in, fr1in * 0.2);
        duPixels: Result := frxPoint(80, 16);
        duChars:  Result := frxPoint(fr1CharX * 10, fr1CharY);
      end;
    end;
    
  • edited 1:02PM
    gpi wrote: »
    Modify frxDesgn.pas:
    function TfrxDesignerForm.GetDefaultObjectSize: TfrxPoint;
    begin
      case FUnits of
        duCM:     Result := frxPoint(fr1cm * 2.5, fr1cm * 0.5);
        duInches: Result := frxPoint(fr1in, fr1in * 0.2);
        duPixels: Result := frxPoint(80, 16);
        duChars:  Result := frxPoint(fr1CharX * 10, fr1CharY);
      end;
    end;
    
    Thanks for your suggestion.
    Would be nice if the default object size could be set in the "Designer Options" form. May you could add this in the next release of FastReport?

    regards
    Tom
  • edited 1:02PM
    TomMueller wrote: »
    Thanks for your suggestion.
    Would be nice if the default object size could be set in the "Designer Options" form. May you could add this in the next release of FastReport?

    regards
    Tom

    Count my vote for this as well!

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.