how to change memo field font runtime!

Hello,
I have replace font of memo fields in report on runtime. Can I do that?

Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:16PM
    Tes
    write code in the obp event of band or memo and modify objects properties.
    ;)
  • edited 11:16PM
    gordk wrote:
    Tes
    write code in the obp event of band or memo and modify objects properties.
    ;)
    I Have a problem with Farsi Font On win98 in Fast report 3.09, but My font in win Xp Or 2k is right, please help me
  • edited 11:16PM
    I have change memo properties in loop statiment

    now I change memo properties that
    memo1.font.name := <RepFont>;
    memo2.font.name := <RepFont>;

    thanks
  • gordkgordk St.Catherines On. Canada.
    edited 11:16PM
    Here is a sample of iterating through objects of a band
    in obp of band
    var
    i: Integer;
    c: TObject;

    for i := 0 to Sender.Objects.Count - 1 do
    begin
    c := Sender.Objects
    if c is TfrxMemoView then
    TfrxMemoView©.Visible := False
    else if c is TfrxLineView then
    TfrxLineView©.Visible := True
    end;
    just change whatever props you want.
    ;)
  • edited 11:16PM
    Thank you.

Leave a Comment