ContainerControl.EmbedWithin Method

Embeds the ContainerControl in ContainingWindow or ContainerControl without drawing the window frame, title bar, title bar widgets, grow handle, and so forth. If a control is passed instead of a window, the ContainerControl will embed on the passed control as the parent of the ContainerControl.

Syntax
ContainerControl.EmbedWithin ContainingWindow, [left], [top], [width], [height]
ContainerControl.EmbedWithin ContainerControl

Parameters
ContainingWindow | Window
left | Integer (Optional)
top | Integer (Optional)
width | Integer (Optional)
height | Integer (Optional)
ContainerControl | RectControl

# Notes

If the ContainerControl is embedded on a PagePanel or TabPanel, it is embedded on the current page. However, we recommend using EmbedWithinPanel for this purpose.

The optional Left and Top parameters determine the location of the top-left corner, relative to the containing window or containing control. The optional parameters Width and Height determine the size of the embedded window.