Hi,
VCL components need to be created and destroyed in the main thread but TChromium events are executed in a different thread.
You need to store the URL in a variable and send a message to the form to create the new tab/window in the main thread inside the function that handles that message.
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.
Manipulating context menu
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: