Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating multiple clickable areas on an image (graphic)
Message
 
 
To
11/01/1999 09:32:10
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00174629
Message ID:
00174638
Views:
25
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform