Demos on Ubuntu lose focus
Posted: Mon Mar 03, 2025 7:46 am
Hi friends, I have a problem. I'm trying out the demos on Ubuntu Linux and when I enter the browser, the keyboard focus is lost. I tried these codes on a button and the focus is restored:
or
But when I click anywhere in the browser the focus is lost again and I can't use the keyboard.
Please help.
Code: Select all
Form1.ActiveControl := CEFLinkedWindowParent1;
Form1.Chromium1.SetFocus(True);
Code: Select all
CEFLinkedWindowParent1.SetFocus;
Chromium1.Browser.Host.SetFocus(True);
Please help.
