Re: Manipulating context menu
Posted: Fri Jul 20, 2018 4:06 pm
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.
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.