Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
World Map showing cities of the world
Message
 
 
To
15/01/2002 12:15:33
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00604922
Message ID:
00604965
Views:
26
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform