Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating multiple clickable areas on an image (graphic)
Message
 
 
À
11/01/1999 09:32:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00174629
Message ID:
00174638
Vues:
26
>>How would I go about making an image react differently to clicks on different parts of it?
>>
>>I suppose I could use the mousedown event, but it there some easy way to get the coordinates of various freeform spots on an image?
>>
>>I thought there was a tool or something to help with that
>>
>>Thanx!
>
>If you speak about VFP form, then, I guess, you may use image control overlapped by invisible button(s).

Yes, I thought about invisible buttons, but I want something that can be ANY shape.

I'm trying to create a starting point for a new app I'm writing that works much the same way as a web graphic can work. In web terminology it would be called an imagemap. I want to define/map various hot spots on the image to take me to various options.

Any way to do that in VFP without, for example, manually having to calculate pixel positions within an image and then reacting to MouseUp/Down accordingly?
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform