Everything it needs is already on your Mac and is accessible via the FPC CocoaAll unit. This control does not add any bulk to your app and does not require installation of any additional libraries. You can relax this restriction by setting the NSAllowsArbitraryLoads key in your application's ist file, but for testing you might stick with HTTPS sites. Note that by default macOS blocks calls to insecure HTTP sites. TWebBrowser control is implemented only for the LCL Cocoa widgetset for macOS by wrapping the WebView class that's part of every Mac's WebKit framework. There are a few things pending like the "windowless mode". It uses many of the tricks from CEF4Delphi and you will notice many similarities if you used it. WebView4Delphi allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2 runtime. See the IPro tab on the Component Palette. There are some examples in lazarus/components/turbopower_ipro/examples demonstrating how to open a local html file with some images, hyperlinks and history buttons. No multimedia stuff, javascript or flash.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |