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 9:33AM
    Tes
    write code in the obp event of band or memo and modify objects properties.
    ;)
  • edited 9:33AM
    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 9:33AM
    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 9:33AM
    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 9:33AM
    Thank you.

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.