Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hot Spot in bmp
Message
De
27/04/1998 15:11:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00095196
Message ID:
00095221
Vues:
20
I hope you have some time budgeted for this - otherwise use Edward Pikman's strategy, more or less:

1. Put BMP name in BmpList along with a system ID.
2. Put a list of numbers and descriptions linked by the BmpList ID.
3. On right click, pop up the numbers & descriptions.

Otherwise you should write 2 sets of code. One to set up your link table and one to set up your actual screen. The setup program will save the location where you click on the screen and let a user add descriptions. (You pop up a picture, and on a click you pop up a little form. The form requests a description and puts a Shape object on screen. User sizes the shape object and moves it if necessary. Before pulling up a new picture, the program runs through all these shape objects and saves their locations and sizes along with the description in your linking table. That's just for setting up each picture.)

Then in your main application, when the user pulls up a picture, the program should add transparent objects to the picture. These should have an ID property set on them which corresponds to the linking table ID. They should all be of a special shape class that has a clever click action...

Get it? A pain in the tuchus, but fun if you have time.

Adam
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform