is it possible to create a MasterGroup inside a Tabbed Panel? and then split my content from each tab into Rows with different elements aligned at the top
This is the part of the Script I'm working on, I've tried everything to change the contents of the Tab to individual Rows and nothing works.
I try to create a new group inside tab1 and I also get an Error.
{
function myScript(thisObj) {
var textStr = "Teste";
function myScript_buildUI(thisObj) {
var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", "undefined");
res= "group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
myIconButton: IconButton{text:'IconButton', image:'~/Desktop/atr_logo.png', alignment:['left', 'top'] },\
myTabbedPanel: Panel{type:'tabbedpanel', text:'', orientation:'column', alignChildren:['left', 'fill'],\
myTab1: Panel{type:'tab', text:'Main Title', orientation:'row', alignChildren:['left', 'top'],\
myStaticText31: StaticText{text:'', orientation:'column', alignment:['left', 'top']},\
myStaticText32: StaticText{text:'Type Main Title Here', orientation:'column', alignment:['left', 'top']},\
myEditText: EditText{text:'', orientation:'column', alignment:['left', 'top'], bounds : [0,0,150,50], properties : {multiline : true}, },\
aButton1: Button{text:'Button1',orientation:'row',alignment:['left', 'top']},\
aButton8: Button{text:'Button8',orientation:'column', alignment:['left', 'top']},\
mySlider: Slider{text:'mySlider3', },orientation:'column',\
},\
myTab2: Panel{type:'tab', text:'Main Box', orientation:'column', alignChildren:['left', 'center'],\
aButton2: Button{text:'Button2'},\
},\
myTab3: Panel{type:'tab', text:'Top Title', orientation:'column', alignChildren:['left', 'center'],\
aButton3: Button{text:'Button3'},\
},\
myTab4: Panel{type:'tab', text:'Left Title', orientation:'column', alignChildren:['left', 'center'],\
aButton4: Button{text:'Button4'},\
},\
myTab5: Panel{type:'tab', text:'Right Title', orientation:'column', alignChildren:['left', 'center'],\
aButton5: Button{text:'Button5'},\
},\
myTab6: Panel{type:'tab', text:'Bottom Title', orientation:'column', alignChildren:['left', 'center'],\
aButton6: Button{text:'Button6'},\
},\
myTab7: Panel{type:'tab', text:'Outer Box', orientation:'column', alignChildren:['left', 'center'],\
aButton7: Button{text:'Button7'},\
},\
},\
}"
//Add resource string to panel
myPanel.grp = myPanel.add(res);
ps. Sorry for my child's drawing style, I did it very fast ..