Control tabs in a tabbedComponent with external buttons

Hi all,
I would like to implement a multi page GUI to contain various controls of an AU plugin.
I thought to do this by means of a tabbed component. However, i need to switch among the pages (tabs) using some buttons elsewhere in the interface (not using the native tabbedBar which is contrained to stay on top/left/right/botton of the container).
I’ve searched with no success inside the forum. Can anyone give me a suggestion of the possibility of doing this?

If you don’t want to show the tabs use

setTabBarDepth (int newDepth)

and set the depth to zero.


void setCurrentTabIndex (int newTabIndex, bool sendChangeMessage=true)

to set the tab index.

It works perfectly!
Thank you very much for your help.