能不能用delphi开发dhtml的?请告诉一般的方法!谢了

解决方案 »

  1.   

    Developing the dhtml application in Delphi is a question on COM actually because  accessing the functions of IE must use the MSHTML.Dll. this lib. is a com lib.You can access the Document property of TWebBrowser and get a  IDispatch.Call the QueryInterface method of IDispatch ,you can get the document's root element,IHTMLDocument.Call the GetElementByID or GetElementByName(and so on) method,the IHTMLElement can be queryed by this way.You can access all kinds of IHTMLElement property,then you can do what you want.