ToolNum: Integer;
The ToolNum property returns a number of the tool that was used on the map.
See also:
IMapxBoxEventArgs