申松淦

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
今天一位朋友问了这个问题,现把解答的结果放在下面
with dbgrid do
for i:=0 to pred(componentcount) do
begin
    if components[i] is Tcustomedit then
    begin
     edit1.Text:= tedit(components[i]).Text;
    end;
end;
posted on 2006-05-01 11:45  申松淦  阅读(266)  评论(0编辑  收藏  举报