WebLink.Targets

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Enumeration
WebLink.Targets

New in 2020r1

Specifies where the page at the URL will be displayed when the app is displayed within an iframe. If the app is not within an iframe, Current, Window and Parent all behave the same way, replacing the existing page with the new one.

Values

Enum Description
Current The new page replaces the existing page inside the iframe.
NewWindow The new page appears in a new window.
Window The new page replaces the existing page.
Parent The new page replaces the existing page with the parent iframe (assuming the iframe is nested within another iframe).

Notes

The option you choose will not override the user's browser settings. Thus if they have their browser set to open links in a new tab rather than a new window, that's the behavior they will see.