It works well when there is only the background layer. But if you add a couple of image layers it doesn't work well. I am testing with this code:
fCurrentIEView.OnUserInteraction := IEViewUserInteraction;
procedure TForm1.IEViewUserInteraction(Sender: TObject;
Event: TIEUserInteractionEvent; Info: Integer);
begin
if event = ieiColorPickerClick then
begin
flagPickColor := false;
etc...
end;
end;
the above code is not triggered at all, or when it is, the color picked is wrong.
This happens only when there are layers.
Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html