I try to draw a measureline,
ImageEnView.MouseInteract := [ miClickCreateLineLayers, miEditLayerPoints, miMeasureLength];
and then, I want to switch to select mode in ImageEnViewLayerNotifyEx procedure:
if ImageEnView.Layers[layer].Kind = ielkLine then
begin
if event in [ielCreated] then
begin
ImageEnView.MouseInteract := [ miMoveLayers, miResizeLayers ];
end
end
but, this way my line disappears. Why?