>I'd like to place an image control on a form showing
>a map of the United States.
>
>How can I determine which state a user clicked on?
>
>Many Thanks
I guess you could also try to use the Browser control with the image map instead, like it described for example here:
http://www.cris.com/~automata/maps.htmDid not try it myself though.
Since the VFP image control is rectangular, it has no idea whether you click on some definite state inside the image, without having some mouse coordinate translation table for the mouse positions and their meaning within the actual map.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison