
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
download pdf file - locked button
download pdf file - locked button
Hello! When entering a website, I click on a button to view the print, with this opens new window the button of download pdf when clicking nothing happens. How could I solve it?


- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: download pdf file - locked button
Hi,
There was a bug in the CEF3 binaries that prevented the use of that button with PDF files but it was fixed a few weeks ago.
Download the latest CEF4Delphi version and use the TChromium.OnBeforeDownload and TChromium.OnDownloadUpdated events to handle file downloads.
The MiniBrowser demo has all the code you need to download files in the "Documents" folder automatically.
For more information about those events read this :
http://magpcss.org/ceforum/apidocs3/pro ... ndler.html
There was a bug in the CEF3 binaries that prevented the use of that button with PDF files but it was fixed a few weeks ago.
Download the latest CEF4Delphi version and use the TChromium.OnBeforeDownload and TChromium.OnDownloadUpdated events to handle file downloads.
The MiniBrowser demo has all the code you need to download files in the "Documents" folder automatically.
For more information about those events read this :
http://magpcss.org/ceforum/apidocs3/pro ... ndler.html
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: download pdf file - locked button
Yes. That's the official CEF4Delphi repository with the latest version but that repository is updated regularly.
That bug was fixed in July 6th so you need a CEF4Delphi version downloaded from that repository in the last 2 weeks.
That bug was fixed in July 6th so you need a CEF4Delphi version downloaded from that repository in the last 2 weeks.
Re: download pdf file - locked button
Tank you!