WebBrowser1.Navigate(URL);
  while WebBrowser1.busy do
    Application.ProcessMessages;

  while WebBrowser1.ReadyState <> READYSTATE_COMPLETE do
    Application.ProcessMessages;

while (WebBrowser1.ReadyState <> READYSTATE_COMPLETE) or WebBrowser1.Busy do
Application.ProcessMessages;

 

posted on 2014-08-19 20:48  lypzxy  阅读(294)  评论(0编辑  收藏  举报