转换成大写的函数我在D中已写好,但就是不行?我在D 中是这样写的
TFrView(fpReport.FindObject('Memo6')).Memo.Text :=UpperCase(TFrView(fpReport.FindObject('Memo5')).Memo.Values['Memo5']) ;Uppercase是转换大写的函数
如果这样也不行
TFrView(fpReport.FindObject('Memo6')).Memo.Text :=UpperCase(TFrView(fpReport.FindObject('Memo5')).Memo.TEXT) ;
这时fpReport.FindObject('Memo5')).Memo.TEXT得到的是里面的脚本?
TFrView(fpReport.FindObject('Memo6')).Memo.Text :=UpperCase(TFrView(fpReport.FindObject('Memo5')).Memo.Values['Memo5']) ;Uppercase是转换大写的函数
如果这样也不行
TFrView(fpReport.FindObject('Memo6')).Memo.Text :=UpperCase(TFrView(fpReport.FindObject('Memo5')).Memo.TEXT) ;
这时fpReport.FindObject('Memo5')).Memo.TEXT得到的是里面的脚本?
解决方案 »
- Delphi7 这是DBNavigation的一个BUG吗?
- 学习windows API 需要什么基础 一般都用什么书入门为好
- 为什么ACTIONLIST里的DATASET在封装成DLL时会没反应了呢?
- 大家帮忙看下这个问题,如何定义F12为热键?
- 怎么样在delphi里面声明union类型??????????????????
- 使用dxTreeviewEdit控件的问题
- 请问验证用户身分的对话框应该在何时创建?,怎么创建?
- 请问怎么将程序最小化后到系统托盘?
- 小弟初到,遇小白问题一个多日不解,各位大侠来帮个忙啊!
- 请问大侠如果使用query1怎样才能自动登陆到数据库??
- 程序不能长时间运行
- 请问斑竹,连续一个星期登陆csdn,但可用分竟然一点没加,怎么回事?
t: TfrMemoView;
begin
t := TfrMemoView(frReport1.FindObject(‘Memo1‘));
if t <> nil then
t.memo.clear;
t.Memo.Text := ‘大写数字‘;
end;
在D6中可取到其值:
zz1:=frReport1.Dictionary.value['zz'];ZZ1即为ZZ的值
即sum[adoquery1.iquantity]的值,
在D6+FR2.51下已测试通过。
var
t: TfrMemoView;
begin
t := TfrMemoView(frReport1.FindObject(‘Memo1‘));
if t <> nil then
t.memo.clear;
t.Memo.Text := ‘大写数字‘;
end;