QRLabel中的Edit1.text/Combobox1.selecteditem [英] Edit1.text / Combobox1.selecteditem in QRLabel

查看:42
本文介绍了QRLabel中的Edit1.text/Combobox1.selecteditem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在QRlabel中显示edit1.text数据?我想添加项目并使用quickreport保存.我的编辑字段和组合框在我的主窗体上,Quickrep在第二个窗体上.感谢您的帮助!

Is it possible to show edit1.text data in QRlabel? I want to add items and save with quickreport. My edit field and combobox is on my main form, Quickrep is on the second form. Thanks for the help!

推荐答案

procedure TQuickRpr1.QRLabel1Print(Sender: TObject; var Value: string);
begin
  Value := Form1.Edit1.Text
end;

这篇关于QRLabel中的Edit1.text/Combobox1.selecteditem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆