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 8:55AM
    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 8:55AM
    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 8:55AM
    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