Hi Nigel,
if e.g. MouseInteractLayers := [mlMoveLayers, mlResizeLayers], after creating a layer(1) the bordergrips correctly appear and the layer is movable and resizable. Clicking then outside layer(1) on the background area (layer 0), the bordergrips of layer(1) correctly disappear.
Now, clicking again on layer(1), it won't be selected; no bordergrips, it's not movable and not resizable. Only after clicking outside the background area, layer(1) becomes again selectable, movable, resizable, with the brodergrips visible.
Is there a way to directly reselect layer(1) after clicking on the background area (layer 0)?
Test code:
procedure TFormTest.FormShow(Sender: TObject);
begin
ImageEnView1.IO.LoadFromFileJpeg('...\IMG.jpg');
end;
procedure TFormTest.Button1Click(Sender: TObject);
begin
with ImageEnView1 do
begin
LayersAdd( 'PAID', 96, clRed, 'Arial Black', [fsBold] );
CurrentLayer.PosX := IELayer_Pos_HCenter;
CurrentLayer.PosY := IELayer_Pos_VCenter;
end;
ImageEnView1.Update();
end;
Al