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.

How to open a url in a new window?

Post Reply
coater
Posts: 135
Joined: Sat Sep 29, 2018 1:51 pm

How to open a url in a new window?

Post by coater »

How to open a new browser using chronium?
I only found that chromium only have the function loadurl().
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to open a url in a new window?

Post by salvadordf »

You only have to create a new child form with a new browser in it.

The ToolBoxBrowser demo shows how to do it.
coater
Posts: 135
Joined: Sat Sep 29, 2018 1:51 pm

Re: How to open a url in a new window?

Post by coater »

Thank you!
May this(such as load a url in a new window) will be added in late edition?

If chromium procedures in uChildForm (such as Chromium1PreKeyEvent) will be the same in new window?
Last edited by coater on Fri Jul 10, 2020 7:44 am, edited 1 time in total.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to open a url in a new window?

Post by salvadordf »

This is already available in a demo and it needs code outside the component to close the application properly.
I think the best place to have this is a demo.
coater
Posts: 135
Joined: Sat Sep 29, 2018 1:51 pm

Re: How to open a url in a new window?

Post by coater »

I understand, thank you!
Post Reply