How i can show web page new tab from my web application
this my code
WebNew.Show
If I understand correctly, your application is currently showing a page and you want to show a new page in a new tab. Standard Xojo will not do that. It is a single page application. You may however meet your need in a different way, using page panels or tab panels in your main page, thereby showing pages or containers in tabs within your main page, instead of tabs next to your main page, in the browser. in the screen shot below, you can see that I only have one Xojo page (in development, still untitled), but the page is organized in multiple tabs. Each tab contains one container, corresponding to what might otherwise be a web page.
Hope this helps. LD
If the URL doesn’t change, use a WebLink. If you need to show a URL from code, Session.GoToURL(url as String, inNewWindow as Boolean = false)
Note that inNewWindow
is only going to be allowed if it’s the direct result of a user action. You can’t spawn a new tab from async events or the browser blocks it as a popup ad.
ok
thanks