C CathyEagle Unregistered / Unconfirmed GUEST, unregistred user! 2001-02-06 #3 在OntitleChange中可以取得动态改变的Title,或者如下 var FDoc: IHTMLDocument2; UrlPath, url, title: array[0..MAX_PATH] of char; begin FDoc := IHTMLDocument2(WebBrowser1.Document); StrPCopy(Title, FDoc.Get_title); StrPCopy(url, FDoc.Get_url); ... end;
在OntitleChange中可以取得动态改变的Title,或者如下 var FDoc: IHTMLDocument2; UrlPath, url, title: array[0..MAX_PATH] of char; begin FDoc := IHTMLDocument2(WebBrowser1.Document); StrPCopy(Title, FDoc.Get_title); StrPCopy(url, FDoc.Get_url); ... end;