Search
Container.sendToBack Method
See Also
 






Sends a child window to the back.

Namespace: MindFusion.Common.UI
File: Container.js

 Syntax

JavaScript  Copy Code

function sendToBack (window)

 Parameters

window

WindowBase. The window to send to back.

 Example

The following code creates a new WindowHost and then sends the first Window in its windows collection to the back. WindowHost derives from Container:

JavaScript  Copy Code

// create a new instance of the WindowHost control
host = new ui.WindowHost(document.getElementById("host"));
host.width = host.height = new ui.Unit(100, ui.UnitType.Percent);
host.theme = theme;
host.render();

.......
.......

var window = host.windows[0];

if(window != null)
 host.sendToBack(window);

 See Also