Changing z-index of Layers at runtime

Dynamically changing the z-index value of a layer using lotusscript

Subject: Layers z-index

AFAIK impossibleuse hidewhens.

Subject: RE: Layers z-index

how to use Hide when for a layer if there is know when property… Can u send me a piece of code for this

Subject: Changing z-index of Layers at runtime

This is one of those items that IBM didn’t implement terribly well. They have layers, and the layers even have a z-index, but there is no JavaScript object for the layers in Notes, so you can’t switch the z-index that way. If you really want to switch the z-index by LotusScript, our Midas Rich Text LSX has supported that since ND6 came out, but honestly, it isn’t worth it. The “correct” way to do this is to put a hide-when in the first paragraph of each layer and switch those, which you can do very effectively. I’ll see if I have a blog post describing this better and will add a link if I do.