fd6093 Posted November 2, 2011 Share Posted November 2, 2011 Hiall I have old project . Used Twebbrowser show web mode on win32 application. I want Transfer HTML from Twebbrowser to UniHTMLFrame .. Quote Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted November 2, 2011 Share Posted November 2, 2011 Can you please explain a bit further what it is that you are trying to do? I do not understand. Quote Link to comment Share on other sites More sharing options...
thecrgrt Posted November 2, 2011 Share Posted November 2, 2011 Hiall I have old project . Used Twebbrowser show web mode on win32 application. I want Transfer HTML from Twebbrowser to UniHTMLFrame .. I strongly recommended you to use TUniURLFrame instead of TUniHTMLFrame. You've just only set its URL property to the link you've passed for "Navigate" method of TWebBrowser. Ex. WebBrowser1.Navigate('http://xxx'); --> UniURLFrame.URL := 'http://xxx'; By the way, Patmap's UniGoogleMap component is better way for refactor your app. Quote Link to comment Share on other sites More sharing options...
fd6093 Posted November 4, 2011 Author Share Posted November 4, 2011 Hi all more infomation. I developed my programs in GoogleMap API V3, funtion Distance Matrix,Directions Waypoints Ref ---> http://www.delphipraxis.net/157004-google-maps-ueber-com-component-object-model.html is good project for delphi&google API Result Output on Twebbrowser for win32 application . I want Transfer Result form Twebbrowser to UniHTMLFrame component result all funtion on webmode PatMan's UniGoogleMap is goodjob I used in my project but not support all funtion Google API . Thank U Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 4, 2011 Administrators Share Posted November 4, 2011 I'm afraid it is not possible. First of all you can't instantiate a TWebBrowser inside a uniGUI application. Second when displaying google maps in a TWebBrowser, it will contain lots of dynamic JS code and other things which can't be simply transferred by copying HTML code. Quote Link to comment Share on other sites More sharing options...
juniorcsa Posted June 5, 2015 Share Posted June 5, 2015 How to obtain the html code of a page open in UniURLFrame1.URL.example:// Loading the siteUniURLFrame1.URL:='http://www.nfe.fazen...do=XbSeqxE8pl8='// Getting html code site after being loadedUniMemo1.text: = UniURLFrame1.html.text;My problem is getting the code, someone can help me with this? Quote Link to comment Share on other sites More sharing options...
mhmda Posted June 10, 2015 Share Posted June 10, 2015 Use Indy http 'Get' to get the content of the page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.