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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEvolution .NET delete layer (IEvolution .NET v8.0.0.0)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Deeron

34 Posts

Posted - Nov 22 2021 :  09:04:27  Show Profile  Reply
Hi Nigel,

For example, if I add more than one layer to a background image and delete one of the layers with DEL, the index of the remaining layers is reordered and one of the remaining layers is selected.

Two questions:

1. How or in which event can I handle it if after deleting a layer one of the remaining layers is selected?

2. How can I handle the DEL key when deleting layers and can it be disabled or changed?

Could you write a C# example of the above?

Thanks.

Regards,
Deeron

xequte

6513 Posts

Posted - Nov 23 2021 :  00:16:31  Show Profile  Reply
Hi Deeron

1. At this time only the LayerNotify Event is available to react to layer behaviour in IEvolution:

https://www.imageen.com/ievolutionhelp/html/6b7f6e09-2679-1ae0-d58e-b499ca8aac5c.htm
https://www.imageen.com/ievolutionhelp/html/1455487c-afde-3b4e-9947-fecb5c957e97.htm

2. Unfortunately there is not an option for that

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Deeron

34 Posts

Posted - Nov 23 2021 :  01:38:45  Show Profile  Reply
Hi Nigel,

Yes, I know that LayerNotify is the only event handler for this, that's my problem:

When I delete a layer with DEL key and then one of the remaining layers is automatically selected, the LayerNotify event does not occur, i.e. in this case I cannot check the layer selection via LayerNotifyEventArgs (LayerEvent.Selected).

Regards,
Deeron
Go to Top of Page

xequte

6513 Posts

Posted - Nov 24 2021 :  03:48:27  Show Profile  Reply
Hi Deeron

For the next IEvolution update, we'll make Keyboard Shortcuts optional so the Delete key can be handled yourself.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Deeron

34 Posts

Posted - Nov 24 2021 :  04:33:27  Show Profile  Reply
Hi Nigel,

Thank you, I appreciate your helpfulness.

Regards,
Deeron
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: