ImageEn, unit imageenview

TImageEnView.LayersCancelEditor

TImageEnView.LayersCancelEditor


Declaration

procedure LayersCancelEditor(SaveChanges: Boolean = True);


Description

Terminates any active text editors.
Users can edit the text of a TIETextLayer or TIELineLayer by double-clicking or selecting F2. They can then cancel it clicking "Esc" (or "Enter" to enact the change). LayersCancelEditor is the programmatic equivalent of clicking "Esc".
If SaveChanges is False, any text the user has specified will be lost. Set to true to enact their changes.


See Also

 ActivateEditor
 ActivateEditor
 LayersEditingLayer
 CancelTools