ImageButton with link


#1

I’m trying to make the logo within our app clickable. At the moment I declared an ImageButton object (instead of a HyperlinkButton). How would you go about launching a hyperlink when the logo is clicked?

Edit: Leaning towards creating a URL object in the onClicked callback and calling url.launchInDefaultBrowser();

Thanks,
Tomek


#2

That’s pretty much how JUCESplashScreen does it.

Rail