Hi there,
I wonder, if there are methods to define a px area on/in an immage and assign it to an action.
For example, if a picture shows a colored square and the user ckicks on it something should hapen - a value would be assigned or raised or being stored in variables or treated in a procedure ...
Thanks for any hint. I'm adding a picture I'm pondering about ...
Klaus
embeded pictures px area
-
- Posts: 8
- Joined: Thursday 24th February 2022 12:18pm
embeded pictures px area
- Attachments
-
- board6.png (50.92 KiB) Viewed 3372 times
- cogier
- Site Admin
- Posts: 1128
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: embeded pictures px area
I think the best way to do this is with Labels. Have a look at the attached code that I have started. Hopefully it will help you.
Re: embeded pictures px area
I think this page from the Italian forum Wiki may help you:pentilisea wrote: ↑Friday 13th October 2023 8:59amif there are methods to define a px area on/in an image and assign it to an action.
https://www.gambas-it.org/wiki/index.ph ... rettangoli
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
-
- Posts: 8
- Joined: Thursday 24th February 2022 12:18pm
Re: embeded pictures px area
Thanks guys, will report when I looked at your suggestions. May take some time.
The italien code appears to be promissing.
For the other code regarding labels I need to switch to my linux box.
So, many thenks
Klaus
The italien code appears to be promissing.
For the other code regarding labels I need to switch to my linux box.
So, many thenks
Klaus