I am trying to create a tabbedPanel within a palette. Below is my code. When I execute the script the window does not show up. If I change the window type from palette to dialog, the window shows up as expected with the three tabs. What could be the reason for this?
var myDialog = new Window('palette', "test");
myDialog.margins = 2;
myDialog.spacing = 2;
var tPanel = myDialog.add('tabbedpanel',undefined,"");
tPanel.add('tab',undefined,"one");
tPanel.add('tab',undefined,"two");
tPanel.add('tab',undefined,"three");
var myReturn = myDialog.show();
I have done further testing and I now know I can't have ANY window of type Palette. Only dialogs will show up. Also if I click my script in the script panel rapidly (which I did out of frustration) I see my palette show up for just a millisecond and then goes away. Can't quite explain that one either.
North America
Europe, Middle East and Africa
Asia Pacific