try: main.ExecuteMapAction(10); 10 is the command code for the built-in zoom to selection viewer command - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp7047230p7051043.html Sent from the MapGuide Users mailing list archive at Nabble.com.