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
 Keep background layer always in background

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
WIZZs Posted - Nov 20 2018 : 03:11:25
Hi,

Is there a way to keep the background layer inside a TImageEnLayerMView (that shows all layers from a TImageEnView) always in the background?

Users shouldn't be able to select it nore drag it to another position inside the TImageEnLayerMView.
Also it shouldn't be possible to drag other layers below the background layer.

Currently I've set LayerOrder to ieloBackgroundFirst so the background layer is always at the top, but it would be nice if this solution would also work if LayerOrder is set differently.

Thanks.
14   L A T E S T    R E P L I E S    (Newest First)
WIZZs Posted - Nov 30 2018 : 06:28:21
Oh yes, that will be it. Thank you.
xequte Posted - Nov 29 2018 : 23:59:17
Hi

In the current update, it only changes to a stop cursor when dragging outside the control.

Nigel
Xequte Software
www.imageen.com
WIZZs Posted - Nov 29 2018 : 02:12:57
Hi Nigel,
I've tested the updated source 8.1.3. beta(1) and it works great.

One little remark:
When LayerOrder = ieloBackgroundFirst and you drag a layer past the background layer a Stopsign-cursor is shown. But when LayerOrder = ieloTopFirst it doesn't do that. For my application it's perfectly ok now.
I understand why you want to move this protection to the properties of TImageEnView.

Thank you very much.
xequte Posted - Nov 28 2018 : 15:22:53
OK, I have an update available, including the hiding of buttons on Layer 0. Please email me for the source.

Nigel
Xequte Software
www.imageen.com
WIZZs Posted - Nov 28 2018 : 00:23:25
I'm on Delphi 10.1 Berlin Enterprise
xequte Posted - Nov 28 2018 : 00:01:38
Hi

What version of Delphi are you using?

Nigel
Xequte Software
www.imageen.com
WIZZs Posted - Nov 27 2018 : 16:46:02
Hi,

I've tested:
IELayerMView1.LayerOptions := [lvSelection, lvVisibilityButton, lvLockButton, lvDragOrdering, lvProtectBackground];
IELayerMView1.LayerOrder := ieloBackgroundFirst;


Setting lvProtectBackground still allows dragging the background down the list of layers and place it on top of other layers. Dragging other layers above the background layer when it is at the top of the list isn't possible (which is good).

If LayerOrder = ieloTopFirst, than dragging inside the LayerMView1 is even more of a mess. Here I need to drag layers an additional position and the background layer isn't protected either.

Also I had hoped that ONLY for a protected background layer Visibility and Lock buttons would ALWAYS be hidden (Visibility = TRUE, Locked = TRUE). User can't change is (as it is protected). This makes more sence to the enduser. Other layers will follow LayerOptions settings.
It would even be fine for me if a protected background layer wasn't shown in the LayerMView1 at all (but that is me).

Thanks.
wesleybobato Posted - Nov 22 2018 : 10:22:58
Now to get everything perfect! we need to support Nigel with Firemonkey :)

Kind regards.
WIZZs Posted - Nov 21 2018 : 23:28:45
Perfect timing. Thanks!
xequte Posted - Nov 21 2018 : 19:31:12
Yes, we'll be releasing 8.1.2 next week.

Nigel
Xequte Software
www.imageen.com
wesleybobato Posted - Nov 21 2018 : 18:11:41
Rio Released :)

http://docwiki.embarcadero.com/RADStudio/Rio/en/What%27s_New
https://community.idera.com/developer-tools/
https://www.youtube.com/watch?v=RreUFdxaR20
xequte Posted - Nov 21 2018 : 16:12:31
As soon as Rio is released.

Nigel
Xequte Software
www.imageen.com
WIZZs Posted - Nov 20 2018 : 22:21:57
Great Nigel, do you already have a releasedate for ImageEn 8.1.2?
xequte Posted - Nov 20 2018 : 17:46:23
Hi

In 8.1.2 you will be able to use:

IELayerMView1.LayerOptions := IELayerMView1.LayerOptions + [ lvProtectBackground ];

Nigel
Xequte Software
www.imageen.com