how to change memo field font runtime!
Hello,
I have replace font of memo fields in report on runtime. Can I do that?
Thanks.
I have replace font of memo fields in report on runtime. Can I do that?
Thanks.
Comments
write code in the obp event of band or memo and modify objects properties.
now I change memo properties that
memo1.font.name := <RepFont>;
memo2.font.name := <RepFont>;
thanks
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.