This project is read-only.

ZoomToShape seems to reset fill color

Aug 22, 2014 at 12:46 PM
Hello everybody,

in my GIS-Application (MS-Access, MapWindow.ocx 4.8.8, vba) I use the following command to zoom to a specified shape:
Forms(strMap).mapMain.ZoomToShape lngHandle, i
The zooming works perfect, but the fillcolor of the previously selected shapes is reset - that is ok most of the time, but sometimes I want to Keep the previously selected items visible (i.e. the selectioncolor is retained).

The code used to work in previous Versions (I thingk 4,7x).

Can anybody help?

Thanks and regards
Nov 28, 2014 at 7:46 AM
Perhaps you can try to re-select the shape using set_ShapeSelected: