C++

How to best load an image from a URL using TWebBrowser when targeting multiple devices

In this snippet, I placed a TWebBrowser control onto my FireMonkey form and aligned it to the client. I then set up the following OnFormCreate event to load a web image into the browser control. I also restricted the image size to the screen dimensions of the device. procedure TWebBrowserImageDemo.FormCreate(Sender: TObject); const cHtmlString = '<img src=%s width=100%%…
Read more
Delphi

My Amazon Web Services Programming with Delphi CodeRageX session

Author: Pawe Gowacki In a moment my “Amazon Web Services with Delphi” CodeRage X session is starting. I’m very excited and the sessions so far were very good. It is still 2 and half more days to go! The source code for the demos shown during my AWS Delphi session has been uploaded to Embarcadero Code Central for you to have a look and enjoy! You can download all demos from…
Read more
News

New per-DPI awareness in VCL applications

Author: Luis Navarro In RAD Studio 10 Seattle, we’ve added per-DPI awareness in the VCL. This means that, when moving a form from one monitor to another one that has different DPI, the VCL form and the controls will be rescaled according to the new DPI, with no…