Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
World Map showing cities of the world
Message
 
À
15/01/2002 12:15:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00604922
Message ID:
00604965
Vues:
23
>Hi all:
>
>I want to display a world map on a form which shows the cities where branch offices are located. Further, on clicking on a particular city, I want to be able to programmatically detect which city was clicked (selected). How shall I proceed ?
>
>Sincere thanks in advance.

As for the city map. I can't help you other than there must be a bitmap of what you are looking for somewhere on the internet.

But for the clicking, I just tested it and I just used the MouseMove event and added the line :
WAIT WINDOW TRANSFORM(nxcOORD)+", "+TRANSFORM(nYCoord)
I get the two coordinates of the mouse-click and from there you can code the rest.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform