Map.CurrentTool property (Map object)
Purpose
This property sets the current tool. This takes a ToolConstants value. The default is miArrowTool.
Remarks
Different tools will cause the mouse to perform a variety of different tasks. For example, if the current tool is set to miLabelTool, when you click the mouse, it will place a label on that particular map object. The mouse cursor will change based on the tool you are using.
If you have defined a custom tool, set it to the CurrentTool by specifying its ToolNumber.
Copyright ?2001 MapInfo Corporation. All rights reserved. Please send comments and suggestions to: MapXDocs@MapInfo.com.