-
Is there a way to import a JSX inside my Undockable Panel GUI?????
I want to call an $.evalFile(myJSXFile); inside my Panel
{
function myScript(thisObj){
function myScript_buildUI(thisObj){
var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette","Panel Estudfas",undefined,{resizable:true});res = "group{orientation:'column',\
groupOne: Panel{text:'Master', orientation:'column',alignment:['fill','fill'],alignChildren:['fill','fill'],\
txtBtn: Button{text:'Press'},\
},\
}";myPanel.grp = myPanel.add(res);
var Btn = myPanel.grp.groupOne.txtBtn
//END PANEL --------------------------- NO PONER NADA ABAJO DE ESTA LÍNEA -------------------------------
return myPanel;}
var myScriptPal = myScript_buildUI(thisObj);
if((myScriptPal != null) && (myScriptPal instanceof Window)){
myScriptPal.center();
myScriptPal.show();
}}
myScript(this);
}
Sorry, there were no replies found.