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
 Which shape (layer) is the mouse Right Clicking
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
138 Posts

Posted - Jul 09 2018 :  13:51:48  Show Profile  Reply
Want a PopUpMenu when user clicks over a shape on a layer. Which Shape is topmost at position x, y in a TImageEnView?

also...

Is there an option to keep shapes entirely within view. That is, shapes can not be drawn or dragged out of view in a TImageEnView ?


Tbanks in advance,


John

xequte

38186 Posts

Posted - Jul 09 2018 :  16:26:34  Show Profile  Reply
Hi John

Use FindLayerAt to get the layer at pos X,Y:

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

LayersCropped will hide any parts of layers outside of the background image:

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

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