Patiencer / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
0 stars 0 forks source link

How to load an URL? #402

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is your question? How to load http pages with FrameBrowser? I have got an 
error "Don't know how to load an URL". When I create OnGetPostRequest, I have 
got an error: can't locate to "http://www.google.com". Googled, didn't find 
anything :( How to load an URL?

Which version of the product are you using? The latest version. Which compiler 
version are you using? Delphi XE7. On which operating system? Windows 8 64-bit.

Please attach sample files and screenshots, if appropriate.

Original issue reported on code.google.com by arteomfo...@gmail.com on 26 Feb 2015 at 5:44

GoogleCodeExporter commented 8 years ago
Please refer to Demos/Other Demos/FrameBrowserUsingIndy10 or Demos/Other 
Demos/FrameBrowserUsingICSv7.

Feel free to use their units, which enable TFrameBrowser.OnGetPostRequestEx and 
TFrameBrowser.OnImageRequest to (down)load URLs.

Unfortunatelly these demos are looking rather complicated. 

I'm planning to ease the loading via pluggable protocol handlers. These will be 
able to load documents from protocols like 'http', 'https', 'ftp', or 'file', 
'res', ...

Original comment by OrphanCat on 5 Mar 2015 at 10:45