More Layers Than "Front" and "Back"

This might have been asked at ServoyWorld 2006, but is it very difficult to add the ability to have more than two layers on a form? I guess what I’m asking for is the Web equivalent of z-index. Maybe this could be a form property where we can manually specify the layer number (1=top, 10=bottom). Heck, maybe even a special “0” layer which means “always floats on top”.

I was thinking of Bob Cusick’s “fake FID” demo at Servoy World, and it would be easier to replicate if we had finer control over the layers. I can think of other uses, too.

What do you mean by front and back?
That you can move item to front or to back, or is there some feature I haven’t discovered?

Hi Christian,

When you select a form object, you have the option to either Bring to Front or Send to Back. I was just wondering if we could have more layers in-between, so maybe there could be menu items like Bring Forward and Send Backward. Or alternatively, we could manually specify a number representing the layer for each object.

Hi All

It would be extremly helpful and speed up things a lot to have layers for a form, they could be limited by number (I think 5 would be already enough), as this would make layouting so much easier, opposed to stacked objects (set to front, set to back), of course this is my opinion only. May be other developers have wished that also for a long time in a development tool, but it never seems to arrive ;-)

Best regards, Robert

chartpacs:
Hi Christian,

When you select a form object, you have the option to either Bring to Front or Send to Back. I was just wondering if we could have more layers in-between, so maybe there could be menu items like Bring Forward and Send Backward. Or alternatively, we could manually specify a number representing the layer for each object.

Hi Robert,

I think some screenshots might help the Servoy engineers understand why we developers would like more layers. Please visit the following website I did for my sister-in-law:
http://www.harmoniousliving.net/portfolio.html
(I don’t care about the spinner graphic for now)

When you click on a photo, a semi-transparent overlay gets displayed, and then you see the photo. I would like to simulate this in Servoy, where the overlay sits between the base form and the fake FID.

Does that make sense? Not only would the overlay provide a nice visual, but it would also (hopefully) block the user from clicking on any visible elements on the base form. My initial efforts to simulate this have been unsuccessful.

Here is a description of the attached photos:

  1. There’s one of the base form
  2. There’s another with the base form + fake FID (looks OK there)
  3. There’s another with the base form + overlay + fake FID (doesn’t look so good)

I’m not using a semi-transparent graphic, but I wanted to illustrate that I can’t seem to get the fake FID to appear on top.