// The default code is a module class (inherited from xui.Module)
// Ensure that all the value of "key/value pair" does not refer to external variables
xui.Class('App', 'xui.Module',{
Instance:{
// Dependency classes
Dependencies:[],
// Required modules
Required:[],
// To initialize properties
properties : {},
// To initialize instance(e.g. properties)
initialize : function(){
},
// To initialize internal components (mostly UI controls)
// *** If you're not a skilled, dont modify this function manually ***
iniComponents : function(){
// [[Code created by CrossUI RAD Studio
var host=this, children=[], append=function(child){children.push(child.get(0));};
append(
xui.create("xui.UI.HTMLButton")
.setHost(host,"xui_ui_htmlbutton3")
.setLeft("7.619047619047619em")
.setTop("2.2857142857142856em")
.setCaption(" Click me")
.onClick([
{
"desc" : "Action 1",
"type" : "other",
"target" : "msg",
"args" : [
"Hello",
"World"
],
"method" : "alert",
"onOK" : 2,
"event" : 1
}
])
);
return children;
// ]]Code created by CrossUI RAD Studio
}
}
});