11-09-2014, 10:02 AM
(This post was last modified: 11-09-2014, 10:06 AM by Dean Roddey.)
Since the buttons on the left are part of the template that includes the nested overlay, you'd do it just like you did the main overlay. Just give the center overlay a name, and have the buttons on the left (which are in the same template) send it commands to load up a new template. It doesn't even really know it's nested in an overlay already.
I guess one concept to keep in mind is that, when you load widgets into an overlay, they aren't just placed into the main template, they are still within that overlay object. They don't know about anything outside of that, and they can for the most part act the same as if they were the base (main) template, but whatever they do only affects the contents inside the overlay they were loaded into.
Except for the special case of global variables that the main template might have created (and which the inner content may depend) you could load the theater template as a top level template and it would basically work the same. The main viewer window is a container and the overlay is a container, and the stuff inside them don't really know or care which type of container they are in, except for some really special case stuff.
I guess one concept to keep in mind is that, when you load widgets into an overlay, they aren't just placed into the main template, they are still within that overlay object. They don't know about anything outside of that, and they can for the most part act the same as if they were the base (main) template, but whatever they do only affects the contents inside the overlay they were loaded into.
Except for the special case of global variables that the main template might have created (and which the inner content may depend) you could load the theater template as a top level template and it would basically work the same. The main viewer window is a container and the overlay is a container, and the stuff inside them don't really know or care which type of container they are in, except for some really special case stuff.
Dean Roddey
Explorans limites defectum
Explorans limites defectum