Tutorials

Learning about Tabs in Max

I follow many different Max related groups across the internet. There is one group with an almost immediate response time, the Max/MSP Facebook Group. On it people will post ideas, cries for help, problems and wishes and end up with a slew of answers in seconds.

A recent feature wish I saw by a user was, “I wish Max had tabs!” - within moments others chimed in and within 20-minutes there were multiple patch options floating around with just what they had wished for. I watched with intrigue, I had a solution but I was interested to see how people would work together to make it happen, BOOM! Philippe Hughes and Nick Hwang almost dropped the same answer simultaneously.

The answer is sitting right there in the .maxhelp files, they’re loaded with tabs that are very easy to make.

Steps for making Tabs

  1. Start a blank patcher

  2. Make a subpatcher, type ‘N’ for a new then type ‘p’ then ‘name of subpatcher/tab

  1. In the new subpatcher window that launches, open the patch inspector window (View>Inspector Window) towards the bottom of the inspector window toggle on “Show on Parent patcher Tab

  1. To make more tabs just duplicate the subpatcher and rename

  2. To make the root level tab disappear, right-click on the tabs and untoggle “Show Root Patcher on Tab”.

You can also just jump straight into making Tabs by downloading and open this “Max_Tabs” starter patch.

For more details, check out Nick Hwang’s nice step-by-step guide.

by Tom Hall on December 22, 2015

Creative Commons License
Chris Vik's icon

Thanks for compiling this Tom.

juandaco's icon

Thanks for this guide! I had trouble with the last step (Hiding the root patcher). The right click must be done to the right of the Tabs, not on them (Max 7.1 - OS X 10.11.2). That's how I managed to do it.

jayrope's icon

Would this work for an M4L patch aswell?

ygreq's icon

You forgot to mention that one has to press "All" instead of preselected "Basic" view on the Inspector. Otherwise “Show on Parent patcher Tab” will not be shown.

Thank you.

davidestevens's icon

Neat. Is it possible to change the font size for the Tabs?

Bill 2's icon

VERY neat, thanks Tom! I'll certainly be using tabs for tidying-up duties. :-)

Q: Can the order of the tabs be changed?

(I now have 7 tabs in a subpatcher window - the main subpatcher and 6 sub-subpatchers - but the main subpatcher's tab is 3rd and I can't see how to change it. Apart from moving all 6 sub-subpatchers to the right of the centre of the window, which defeats the purpose of tidying up the patch.)

daddymax's icon

This is just what i need right now - thanks to the authors for sharing this.

bkshepard's icon

The Left-To-Right order of the tabs changes with the Left-to-Right order of the patcher objects in the main window. BTW, you can also have spaces in your Tab if you name the sub patcher something like [p "Tabs with Space"]

bkshepard's icon

Is it possible to edit the colors for the tabs?

cédric's icon

Cool tips!!

Simon Smith's icon

Thank you very useful!!

musicmovement's icon

Is there a way to bring the tabs to the front without clicking on them? the 'front' message to thispatcher opens a new window as opposed to opening the tab within the window.