ImageEn, unit imageenview

TImageEnView.EnactCurrentTool

TImageEnView.EnactCurrentTool


Declaration

function EnactCurrentTool(): Boolean;


Description

Enacts any active interactive tools. Generally this is the same as clicking the "Enter" key.

It may have one of the following actions
 TIECropToolInteraction: Enacts the current crop, by calling Enact
 mlClickCreatePolylineLayers: It completes the creation of the current polyline

Result is true if an interactive tool was enacted.


Example

// User clicks OK button
ImageEnView1.EnactCurrentTool();


See Also

 CancelTools
 CropTool
 MouseInteractGeneral
 MouseInteractLayers