Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image where I can click on portion
Message
De
11/03/2016 14:45:21
 
 
À
10/03/2016 16:18:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01632806
Message ID:
01632875
Vues:
40
Thank you for all those informations Yousfi

>Hi Denis
>you can divide your original photo in many small rectangular and independent zones and superpose on each zone a shape named
>sh1,sh2,.....shn.these shapes are opaque in design time (readable) but transparent at runtime (setall+backstyle property=1,0)
>create a table dbf with for ex this structure: (zone i,img c(30),info m)-can add others fields...
>and then for each zone you prepare a photo zooming this part...store images in a folder images and report each
>image location in the field img each zone can be documented in the info memo in the table.
>
>build a form with main image, a control image to view any zone and an editbox to read info memo.
>note:memo can be read in editbox, richtextbox or even a browser IE.
>
>clicking on any shape of the main image you fire its image+info in same form+maybe another things
>you want to show (these must be in table).
>you can change the backcolor of the shape clicked or restore it, add colored border or no for ex or make a small move.make hand hotspot at mouseEnter and mousepointer=0 when mouseleave...
>in mouseEnter/mouseleave event.
>can use a shape class to encapsulate definition+procedure click or bindevent for all shapes in a loop(form.init).
>can use a listbox or grid to build with the zones numbers 1,2,....n of shapes.clicking on any number you color the
>relative shape on the main image.
>
>can see this link for analogic idea :http://www.crwflags.com/fotw/flags/fr%28dep.html
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform