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
 How to programmatically disable moving of layers?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AdrianKnowles

USA
35 Posts

Posted - Sep 13 2023 :  16:20:21  Show Profile  Reply
Hi,
how do I programmatically disable moving of layers?
I can enable by
ImageEnView.MouseInteractLayers := [miMoveLayers];

but dont see how I can then make it FALSE;

Apologies if this is a simple one but I've been looking and drawn a blank.

Kind regards,
Adrian

xequte

38610 Posts

Posted - Sep 13 2023 :  16:26:34  Show Profile  Reply
Hi Adrian

You can just use:

ImageEnView.MouseInteractLayers := [];

or revert to default UI:

ImageEnView.MouseInteractGeneral := [miZoom, miScroll];

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

AdrianKnowles

USA
35 Posts

Posted - Sep 13 2023 :  17:36:28  Show Profile  Reply
Perfect, thank you!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: