Thursday, June 17, 2010

The Application Brower Script

This is the code in The Application browser script - used to call the browser side version of the framework (which gets attached to the top object, so available everywhere)

// build framework object - will be accessible to all objects via top.oFramework
setTimeout("BuildFramework()", 1000);

function BuildFramework()
{
var bsUi = theApplication().GetService("My Framework");
bsUi.InvokeMethod("BuildBsFramework",NewPropertySet());

top.oFramework.resizeAppWindow();
}

No comments:

Post a Comment