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.
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017