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,"");
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.
A bug in the windows version perhaps? Provided the #targetengine statement is present, of course.
Works fine for me under CS5.5 in Windows.
Perhaps bduffy323, you should reset your preferences.