Select a specific DefaultSingleCDockable

Hello,

I am using a CGrid with a CController and I display some DefaultSingleCDockable in a stack at the same position(0;0). So some tabs are created. :slight_smile:
I would like to know how I can select a specific tab as the method setSelectedComponent in the JTabbedPane. For instance, I am on the first DefaultSingleCDockable and when I click on a button, I switch to a tab automatically because it is already opened.

Fabien :wink:

How about the “toFront” method of DefaultSingleCDockable, the mehod tries to select and focus the dockable?

Or use “CGrid.select” to set the initially selected tab.

the toFront method works fine! :slight_smile:

Thanks!