ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Get notification after "Save as..." from Toolbar?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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:

7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 24 2020 : 18:49:29
Hi

Please email us for 9.2.0.

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Sep 24 2020 : 11:09:35
Hi Nigel,

 
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.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Jul 09 2020 : 03:59:44
Hi Peter

I'll add an event for this in a coming update.


Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Jul 08 2020 : 17:23:59
With:

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?
xequte Posted - Jul 07 2020 : 17:54:22
Hi

You can monitor IO events in TImageEnView:

https://www.imageen.com/help/TImageEnView.OnFinishWork.html

And check TImageEnView.IO.Params.Filename.


Nigel
Xequte Software
www.imageen.com