Hi,
Those popup windows are created automatically by CEF. They are not Delphi forms and you'll need to use the Windows API to handle them.
Try these functions to get the handle of the new child window : GetActiveWindow, GetForegroundWindow or EnumChildWindows.
Then send a WM_SETFOCUS message to that window to set the focus.
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.
Focus in Target Blank
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: