Memo.lines问题 Memo.lines问题只要 Memo.lines 显示一行数据Label.Caption := '成功 :' + inttostr(S);这样的代码怎么写。类似与统计。 谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 只要 Memo.lines 收到一行数据 那么 Label.Caption := '成功 :' + inttostr(S);这样的代码怎么写。类似与统计。 谢谢 Memo.lines.Add('成功 :' + inttostr(S)); Memo.lines 显示一行数据这句怎么写呢。具体点的代码 if memo.lines.count=1 thenlabel...... memo的onChange事件/或者你的数据接收事件:if memo.lines.count>0 thenLabel.Caption := '成功 :' + inttostr(S); if memo.lines.count<>0 thenLabel.Caption := '成功 :' + inttostr(S); memo.lines 首先要统计出这个控件中有多少行,再通过TIME控件加入“偱环”读取时再Label.Caption := '成功 :' + inttostr(S);即可 不太明白楼主的意思,如果是只要 Memo 中有了一行数据,就立即显示 Label.caption := '' 的话,就在 Memo.OnChange 事件中写代码 var i;//行数begin i:=() //初值 if memo.line.count > i then Label1.caption:= .....; i:= memo.line.count;end; 原创 汇编编译器/组件 Delphi源码 MiDocView控件问题 View 和 Table的最本質的區別 求设计方法!! char 深圳千升投资有限公司招DELPHI+SQL程序员10名 如何判断是否是数字 关于FastReport一个奇怪的问题,高手帮忙! 求助 急 在线等! 刚学delphi 问一个问题:在线等待 急求!错误“SQL语句之后缺少分号(;)。” Delphi 课程设计
那么
Label.Caption := '成功 :' + inttostr(S);这样的代码怎么写。类似与统计。 谢谢
label......
Label.Caption := '成功 :' + inttostr(S);
Label.Caption := '成功 :' + inttostr(S);
加入“偱环”读取时再Label.Caption := '成功 :' + inttostr(S);即可
i:=() //初值
if memo.line.count > i then
Label1.caption:= .....;
i:= memo.line.count;
end;