Polygon hotspot propeties

Q&A about the latest versions
Post Reply
Bostjan
Posts: 402
Joined: Fri Oct 17, 2008 4:06 pm

Sun Nov 08, 2020 3:56 pm

I have defined a point hotspot with skin-ID and defined action s within the skin.
Now I would like to define actions also for the polygon hotspot, the same way I did for a point hotspot. Is that possible?
User avatar
Hopki
Gnome
Posts: 10831
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun Nov 08, 2020 10:22 pm

Hi Bostjan,
You can use a container and set up a Hotspot Proxy ID.
Sounds complex but it's really not.
Set you Polygon hotspot, but change the ID, default IDs are Poly01, Poly02 etc.
As an example set it to "info_popup".
Open the skin and add a container, look in the properties of the container and you will see Hotspot Proxy ID.
In here enter "info_popup".

You have now made a link between the poly hotspot and the container.
Any mouse actions in the container will work with the poly.
Mouse Click
Mouse Pressed
Mouse Over
Mouse Enter
Mouse Leve

So any of the above will work, you can even set, mouse click and open a popup and set value $(had), the popup will read the text in the polys description text field.
Regards,
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Bostjan
Posts: 402
Joined: Fri Oct 17, 2008 4:06 pm

Mon Nov 09, 2020 6:25 am

tx... done and already implemented :)
Post Reply