昨天的一个帖子,在界面上能实现动态修改控件的值,现在需要在线程里面修改。procedure TReadThread.Draw();
var
  tmpFrm:   Tfr_entry;
  PropInfo: PPropInfo;
  con:TComponent;
begin
  tmpFrm := Tfr_entry.Create(con);//这个con没有初始化
  try
    con := tmpFrm.FindComponent('Label'+IntToStr(pindex));
    if con = nil then
      Exit;
    PropInfo := GetPropInfo(con.ClassInfo, 'Caption');
    if Assigned(PropInfo) then
      SetStrProp(con, PropInfo, pvalue);
  finally
    tmpFrm.Destroy;
  end;
end;
在多线程里面怎样修改