Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Disable select box ?

$
0
0
Thanks for this idea, I thought it would do the trick but it does'nt work either. I tried that :

Dim cursmem As MapWinGIS.tkCursorMode
cursmem = winmap.CursorMode
.CursorMode = MapWinGIS.tkCursorMode.cmNone

'call form and insert point here

winmap.CursorMode = cursmem
winmap .Redraw()

After that, the new point appears with the rubber band rectangle between it and the cursor. Then,if I do a right click, selection box disappears and the new point is automatically centered in the map. Of course, I have no code to manage right click.

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>