快来拿分---为什么我在WebBrowser的 do wnloadComplete事件中,取得其文本会出错?? ?????????????????????????

  • 主题发起人 weisunding
  • 开始时间
W

weisunding

Unregistered / Unconfirmed
GUEST, unregistred user!
快来拿分---为什么我在WebBrowser的 DownloadComplete事件中,取得其文本会出错?? ??????????????????????????????????????????????????????????????????????????????????? (10分)<br />procedure TMainForm.WebDownloadComplete(Sender: TObject);
begin
statusbar1.SimpleText:='Downloaded!';
showmessage((web.Document as IHtmlDocument2).Body.OuterText);//出错!
end;
 
得在 Ondocumentcomplete 中才行.
 
wo shuo duo shao fen ne
那么长的名字害的我看的好难受
 
接受答案了.
 
顶部