ImageEn, unit iexLayers

TIELayer.Locked

TIELayer.Locked


Declaration


property Locked: Boolean;


Description


When False the user can move or resize the layer. Also enables display of the layer border and resizing grips.

Default: False


Examples


// Prevent movement of current layer
ImageEnView1.CurrentLayer.Locked := True;

// Make background layer selectable and sizeable
ImageEnView1.Layers[0].VisibleBox := True;
ImageEnView1.Layers[0].Selectable := True;
ImageEnView1.Layers[0].Locked := False;
ImageEnView1.Update();