Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
PeterPanino
Posted - Jul 07 2020 : 06:55:16 How can I get a notification and the filename, after I have successfully saved the current ImageEnView image to disk by clicking on the "Save as..." toolbar button of the TImageEnViewToolbar:
We've added an OnActionExecute event to handle this.
I have the newest beta source, and it seems that OnActionExecute is implemented only in the base abstract class TIEView and not accessible in the Object Inspector of e.g. TImageEnView.
So how can it be used?
xequte
Posted - Jul 22 2020 : 22:28:51 Hi
We've added an OnActionExecute event to handle this.
procedure TformMain.ImageEnView1FinishWork(Sender: TObject);
begin
if Sender is TImageEnIO then
begin
CodeSite.Send('TformMain.ImageEnView1FinishWork: IO Task has finished');
end;
end;
...I am notified that a TImageEnIO action has been completed. But how can I get the information WHICH TImageEnIO action has been completed?
PeterPanino
Posted - Jul 08 2020 : 15:52:47 The imgMainFinishWork event-handler is not triggered when PASTING an image from the clipboard (either with CTRL-V or with the Paste ToolButton on the ImageEnView Toolbar).
There is also no OnPaste event in TImageEnView. It is also important to know whether the whole image has been replaced by the Paste action or whether a selection on the existing image has been replaced by the Paste action. For this purpose, I would need both an OnBeforePaste event and an OnPaste event which is triggered after the Paste action.
So how can I get notified when I paste an image from the clipboard?