Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding picture on a form
Message
From
16/03/2017 10:20:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
16/03/2017 09:48:04
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01649104
Message ID:
01649106
Views:
58
>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.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform