Skip navigation
Currently Being Moderated

Combine multiple panels within single window.

Jun 11, 2013 8:36 AM

Tags: #extension #panel #cssdk #creative_suite_extension

Hello,

 

I am creating an extension for Illustrator CS6 using CS SDK 2. My extension has the ability to open up multiple panels and each panel has its own window. I want all panels in a single window similar to the Layers panel in Illustrator (Layers\Artboards in a single window as tabs). The scenarion is:

1. Panel A is the defaul panel of my extension and opens up through Window->Extensions->My Extension.

2. On Panel A i have a button that will open Panel B using the code:

     var newPanel:Window = new Window();

     newPanel.type = CSXSWindowType.PANEL;

     newPanel. width = 400;

     newPanel.height = 400;

     newPanel.open();

 

This is what i get:

image1.png

 

This is what i want:

image2.png

 

I can not figure out how to combine the panels through code when they open up.

Kindly help.

 

Thanks,

Hitesh

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points