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.

shows focused form when loading URL

Post Reply
snoop
Posts: 75
Joined: Mon Jul 10, 2017 12:06 pm

shows focused form when loading URL

Post by snoop »

Hello. I added recently another chromium browser to my program. I need it to work ' silently' - i have it outside of the form or just with visible=false. I need to monitor something while app is working. But when I load URL in that browser it shows/focuses my app on my screen... for example I work in another program and then my app bringing form to front. how can I avoid it? I never had that issue before, any ideas?
User avatar
salvadordf
Posts: 4081
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: shows focused form when loading URL

Post by salvadordf »

Use TChromium.OnSetFocus and return TRUE.

If that doesn't work I would use a TChromium in OSR mode.
Post Reply