View Full Version : not to move shapes
Manuel
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.
Thank you
Manolo
Anonymous
05-19-2003, 12:14 PM
I have the same problem. Have you/someone found the solution?
Thanks
Anonymous
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.
Regards,
Gilles [MVP]." :-(
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by
vBSEO 3.6.1