You can use the rect class to store and test région too
Dim aRect as new Rect[]
aRect.Add(Rect(5,5,10,10))
aRect. Add... etc
Use in mouse event :
For I =0 to aRect.max
If aRect[i].contains(mouse.x,mouse.y) then print i
Next
Le 22 mai 2013 17:10, "Tobias Boege" a écrit :
> On Wed, 22 May 2013
On Wed, 22 May 2013, Marco wrote:
> Hi all,
>
> I'm trying to write something so that I can display an image (a map of a
> building). On this image several temperature probes are displayed. I'd
> like to click the image on specific regions and want a textbox to be
> filled with the temperature