Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoObject Class : DoMove Method |
Location = ComputeMove(origLoc, newLoc)
However, you can override this method or ComputeMove to constrain the places that this object can be moved to by the user. You will still be able to move this object programmatically by setting the Location or Position property directly. If you want to constrain this object's movement both interactively and programmatically, you should override the Bounds property. Override ComputeMove if you want to constrain the user's movement of this object without regard to the actual view or input events causing the move.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2