Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining which image was clicked on.
Message
De
27/03/2003 12:38:38
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00770803
Message ID:
00770836
Vues:
12
>I am not quite sure why do you need the color on the clicked area. Whether sys(1270) is not enough?

I am not so much concerned as to the color other than it is the transparenvy color or not. Since my image contorls overlap, I can not use SYS(1270). I am looking for the first image control that contains a non-white (not transparency) color at the location clicked on. This is akin to a mapped image in IE or Netscape.

Imagine a hillside broken into several irregularly shaped areas. Each area will have a number of images to show the change over time relative to tree growth and harvest (all of which have a white (transparent) background. I need to select different areas by clicking on them. Remember, the image controls overlap due to the irregular shape of the areas. That prevents me from just using the click method in the image control. I figured if I could determine which image contains the non-white pixel at that location (x,y) that would be the image control to use its Click() method.

Todd Cottengim
Alpine Land Information Services
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform