Search
TabControl.attach Method
See Also
 






ListContainer.attach override.

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

 Syntax

JavaScript  Copy Code

function attach ()

 Example

The following code creates a new instance of the TabControl calss and attaches its event handlers:

JavaScript  Copy Code

var ui = MindFusion.UI;

var theme = "standard";

function loadWindow(sender)
{

    // create a new instance of the TabControl control
    var tabControl = new ui.TabControl(document.getElementById("tabcontrol"));
    tabControl.width = tabControl.height = new ui.Unit(100, ui.UnitType.Percent);
    tabControl.theme = "standard";
    tabControl.attach();
}

 See Also