tchromium

Get HTML Source from Chromium Embedded

无人久伴 提交于 2019-11-27 06:03:33
问题 How to do this with Delphi Chromium Embedded Component i know how to do this with TWebBrowser. But since no docs are present for this I am sure someone else had same problem. Thanks 回答1: Here is how you do it.. procedure TCustomLoad.OnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); var data:tstringlist; begin data:=tstringlist.create; if frame.IsMain then data.text:=frame.Source; // HTML Source end; data.free; end; 回答2: in dcef 3 procedure StringVisitor

Using TChromium, Delphi Chromium Embedded

懵懂的女人 提交于 2019-11-26 16:46:54
问题 This is a continuation of my last question. In that question I showed a problem involving TWebBrowser generating threads that persisted after the Browsers destruction. While noone could provide a solution to the problem, it was suggested that the problem could be a non-fixable one (a flaw with the TWebBrowser component itself). Because of this I have attempted to download and use the Delphi Chromium Embedded Framework. I downloaded the components and added them to Delphi, added one to a new