Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding picture on a form
Message
De
16/03/2017 10:20:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/03/2017 09:48:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01649104
Message ID:
01649106
Vues:
59
>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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform