Format Fields

Hi,

I am trying to format a FrxMemoView field by code to shift the field to the left however it is not taking. Any suggestions? Below is a small snippet of the code.
Thank you!

begin
AgcyBranchTitle.Text := IntToStr(SQLQuery.FieldByName('PRODUCER').AsInteger);
ProducerNameFld.Text := SQLQuery.FieldByName('NAME').AsString;
AgencyName.Visible := False;
AgcyBranchTitle.Left := 0.8;
ProducerNameFld.Left := 1.4;

Comments

  • edited 6:24PM
    Hello cdpate,

    in which Event u are using the code?

    This works well:
    procedure MemoOnBeforePrint(Sender: TfrxComponent);
    begin  
       tfrxMemoView(Sender).left := 0;                            
    end;
    
    begin
    
    end.
    

    Greetz

Leave a Comment