I have a webpage that allows users to embed new containers on the page. If the containers overlap, the last one added remains on top. I am hoping to find some JavaScript code that would bring the container the user selects to the front (top).
Hi Dean,
I have an app that displays embedded containers in a column, and when required it ‘removes’ the containers and re-adds them (EmbedWithin) in the proper order.
There’s no good way (that I know of) for removing an embedded container, so each child container has a SelfDestruct() method that I call before re-embedding the children in the order I need them in.
The SelfDestruct() method in my containers include the line Me.Parent.RemoveControl(Me)
HTH,
-Bill