I am trying simulate a button that deletes all the puhpins, routes, ... that are represented in the map.
I use the code above:
MPControl.ActiveMap.Saved = True
and it works fine but the problem is that during a few seconds, while the new map is loading, my screen appears in white color, and it is very ugly for the user.
Is there any solution?