ImageEn, unit imageenview

TImageEnView.CancelTools

TImageEnView.CancelTools


Declaration

procedure CancelTools();


Description

Cancels any active interactive tools.

It may call one of the following:
- Cancel
- Cancel
- Cancel
- Cancel
- Cancel
- Cancel insertion of a line or polyline layer

Note: CancelTools does not disable the active interactive mode. To do that, remove the tool from MouseInteractGeneral


Example

// User clicks cancel button
ImageEnView1.CancelTools();

// Disable all interactive modes
ImageEnView1.MouseInteractGeneral := [];


See Also

- EnactCurrentTool
- BrushTool
- RetouchTool
- CloneTool
- CropTool
- RotateTool
- LayersCancelEditor