>Is there a way (VFP6) to add picture (which is not rectangular shape, for example map of something) on a form and on click only on picture (only inside map, not outside picture within rectangle) do something?
>
>Thanks in advance.
In general, a picture is rectangular
You may have a msk mask file (search VFP Help for
picture msk) That defines transparent areas. So it
looks like non-rectangular
The VFP image control owns the click event.
If you need to click only on parts of the image the MOUSE* events may be usefull. There you may figure out the coordinates of the mousedown. You need to know the clickable coordinates first.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]