FinedComponent的用法

for I := 1 to NUM_OF_SEARCHERS do

  FCoordinator.ProgressBars[I] := TProgressBar(FindComponent(Format('ProgressBar%d', [I])));

当主窗体上有多个ProgressBar组件:ProgressBar0,ProgressBar1..。可以通过FindComponent获取组件

posted on 2013-09-06 13:53  kaban  阅读(127)  评论(0编辑  收藏  举报

导航