Hi,
Weiss jemand, wie man von einem IHTMLTxtRange das IHTMLElement bekommt?
Delphi-Quellcode:
var
tr: IHTMLTxtRange;
begin
tr := ((Form1.WebBrowser1.Document as IHTMLDocument2).body as IHTMLBodyElement).createTextRange;
tr.findText(aText, 1, 0);
// wie bekomme ich jetzt vom tr das IHTMLElement ?