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
 ImageEnView Rectangle Delete - Capture Event - Best Way ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
159 Posts

Posted - Dec 11 2022 :  15:24:03  Show Profile  Reply
I have an ImageEnView with a code loaded Rectangle where the user can drag/resize etc.

I need to capture the event IF THE RECTANGLE IS DELETED BY THE USER.

Please advise the best way to do this based on Rectangle ID - Thanks in advance

Andy

xequte

39052 Posts

Posted - Dec 11 2022 :  20:24:41  Show Profile  Reply
Hi Andy

Is the rectangle a TIEShapeLayer?

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

andyhill

Australia
159 Posts

Posted - Dec 12 2022 :  00:36:41  Show Profile  Reply
I am using ImageEnView1LayerNotifyEx ... if event = ielRemoved then begin ...

Rectangle is: LayersAdd(ielkShape) ... Shape:= iesRoundRect


Andy
Go to Top of Page

xequte

39052 Posts

Posted - Dec 12 2022 :  14:16:28  Show Profile  Reply
Hi Andy

Yes, that is the correct option.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: