Click to go to web site?

BlitzMax Forums/BlitzMax Programming/Click to go to web site?

Robby(Posted 2015) [#1]
I can't seem to find any info about clicking to go to a website?
What I need is when clicking on a certain area - like a box - it will send them to my web site. Something like:

If MouseDown(1) Then
' goto url
End If

Any ideas on how this is done, and how Blitz knows which browser they might be using? This is on Windows for now. Thanks again, -Rob


Pengwin(Posted 2015) [#2]
Use the OpenURL function. It opens the system default browser for the URL specified:

e.g.
Local url$ = "http://www.google.com"
OpenURL(url$)



degac(Posted 2015) [#3]
Hi

if you use MaxGUI module you can create a GadgetHyperLink() and the use OpenURL() when needed.