Page 1 of 1

URL Link assigned to an image?

Posted: Tue Nov 17, 2015 6:26 pm
by cproctor
Good afternoon. I want to have a URL link on an image. I'm sure it's possible, but looking thru the properties I'm not sure what needs to be entered. Can someone give me a hint? Lol. I tried using pui.openURL() in the doubleclick property, but it didn't like that.
Thanks!

Re: URL Link assigned to an image?

Posted: Wed Nov 18, 2015 4:52 pm
by Scott Klement
I just tested what you describe (calling pui.openURL from the 'ondblclick' property of an image) and it worked perfectly for me. Can you tell me more about the problem? What happens when it fails?
openurl.png
openurl.png (9.22 KiB) Viewed 1370 times

Re: URL Link assigned to an image?

Posted: Thu Nov 19, 2015 12:57 pm
by cproctor
Hi Scott. Ok, I'm an idiot, apparently. I went back in and did it again and it worked. I must have fat fingered something. But I do have a question. How can I get the finger to appear when I hover over the image?

Thanks again

Re: URL Link assigned to an image?

Posted: Thu Nov 19, 2015 2:10 pm
by Scott Klement
In the image widget's properties, set the "cursor" property to "pointer"

Re: URL Link assigned to an image?

Posted: Thu Nov 19, 2015 5:38 pm
by cproctor
Awesome! Thanks, Scott.