View Full Version : not to move shapes
02-23-2003, 02:38 PM
I am creating an application in VB that uses the Mappoint control. I. I'd like to know how to block the user from being able to move shapes that I have created with "Set oShp = .MPC.ActiveMap.Shapes.AddLine(oloc1, oloc2) "
I mean The user can select them but not to move them.
05-19-2003, 12:14 PM
I have the same problem. Have you/someone found the solution?
05-19-2003, 01:46 PM
Not so far. I only got this answer from the microsoft.public.mappoint
"This has often be requested, but I don't have an easy answer for you
unfortunately. The only way this could be done that I am aware of is
intercept the "SelectionChanged" and mouse events and "a posteriori"
check if anything was moved that shouldn't be moved, and move it back.
Gilles [MVP]." :-(
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO