showing area's on one map.

Jade
04-07-2003, 04:29 AM
Hi!

I am writing an application in VB with MP-components.
I don't know a lot about VB nor MP.

I got this problem: on loading the form I open my main map.
I want to use this map through the whole application.
But I want to zoom on specific area's, by use of some buttons.
Now, when I select one area with the selectedarea-method i let it zoom to that area. Then I click on the button of another area, but keep on zooming on the previous area.
Is there a simple method to get back to my original map first, and than zoom in to the second area?

Could you please help me!
I know all this might sound a little confusing, but I am not so good in explaining myself in English...

Tnx!

Jade

Jade
04-08-2003, 06:46 AM
Is it possible to give me a code example for the following functionality:

* show the mainmap (Belgium)
* after I click on button "Antwerp": zoom in on Antwerp
* after I click on button "Brussels": zoom in on Brussel
* after click on button "Belgium": view the entire map again

It is important for me for working with the same .ptm file the whole time.
Oh yeah.. how can I avoid the question for saving after changing and zooming on the map?

Many thanks for every answer!

BTW: why isn't it possible to select territories or am I wrong, that would be the perfect solution for my problem.

 
Web mp2kmag.com
mapforums.com