The function
element-container
returns the container of the element
element.
If element is inside a standalone interface, then container is the screen object.
If
element
is inside an interface that is inside a MDI interface, then
container
is the
capi:container
object of that MDI interface. See document-frame for details.