FastReport中国社区FastReport联系电话 联系电话:023-68661681

如何从Delphi中访问FastReport报表对象?

来源:   发布时间:2016-08-08   浏览:3226次

问题描述:如何从Delphi中访问报表对象?

解决方法:FastReport对象不是一个组件,并可以通过下列方法访问:

var
t: TfrMemoView;
begin
t := TfrMemoView(frReport1.FindObject('Memo1'));

if t <> nil then
t.Memo.Text := 'FastReport';
// or this:
if t <> nil then
t.Prop['Memo'] := 'FastReport';

end;




本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:FastReport控件中文网 [https://www.fastreportcn.com/]
本文地址:https://www.fastreportcn.com/post/1131.html

联系我们
  • 重庆总部 023-68661681
购买
  • sales@evget.com
合作
  • business@evget.com


在线
客服
微信
QQ 电话
023-68661681
返回
顶部