- TChromium.OnBeforePopup
- TChromium.OnOpenUrlFromTab
- https://magpcss.org/ceforum/apidocs3/pr ... 3E&,bool*)
- https://magpcss.org/ceforum/apidocs3/pr ... tion,bool)
- https://bitbucket.org/chromiumembedded/ ... h#lines-64
- https://bitbucket.org/chromiumembedded/ ... #lines-104
You can use those events to cancel the creation of the new window when targetDisposition is WOD_NEW_POPUP or WOD_NEW_WINDOW, and create your own tab with the same URL.
Those events are called in a CEF thread and you should not create VCL controls or forms inside that event because VCL doesn't like to create and destroy controls in different threads.
If you decide to create your own popup forms or tabs you can use the PopupBrowser2 demo as a template.