customize patcher tabs

yonfell's icon

hello max list,

i am working on an interface with the patcher tab feature.
works great by setting the "Show on Parent Patcher Tab" property.

i have 3 questions concerning this feature.

1) is it possible to set the size of the tabs ?
2) is it possible to "auto select" a tab by code/patcher/external ? (without clicking with the mouse onto it)
3) is it possible to set "Show root patcher on Tab" by code/patcher/external (without right clicking on the grey empty tab area)

thanks in advance,
yon

yonfell's icon

does nobody has a hint for me ?

metamax's icon

1) and 2)

Max Patch
Copy patch and select New From Clipboard in Max.

-

3) ??

yonfell's icon

thanks metamax,

but i need a hint for the patcher tabs, not for the [tab] object !

perhaps sombody from cycling74 has a tip ?

yon

vichug's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you're adventuring in a new territory, not well documented for now... but as a guess, those tabs are probably an implementation of some standard OS feature, so it might be difficult to customize them.
For 2) i thought you could send a (front) message to a [thispatcher] inside the patcher tab, but this brings a separate window, which is actually like a "New View" of said patcher tab.
For 3) : you can freeze the attribute - wait, no, you can't ! You can drag and drop from the patcher inspector the attribut value, there you see that the message to sned is "showontab 1" but i have no idea where you have to send that message... Actuallly yes ! you can send a (showontab 1) or (showontab 0) message to [thispatcher]. You can't pass [@showontab 1] as an attribute to a subpatcher at its creation, despite the autocompletion showing up.

yonfell's icon

hello vichung,

thanks for looking int this.
(front) message to a [thispatcher] is not an option.
it behaves like a subpatcher. so there is no benefit using tabs.

seems that the great tab feature is halfhearted implemented.

or is there some undocumented stuff like the (presentation 1) message to the [thispatcher] object ?

yon

vichug's icon

I think it's a bit of both. It's a bit of a new feature, mainly used for helpfiles, but i'm pretty sure there's a lot of undocumented features about this - just look at any c74 help patch, check "show root patcher on tab" and you have a [js helpstarter] with potentially mysteries inside...

jazzisfaction's icon

Hey Yonl,
did you ever find an answer for your second question?
That would be fantastic.

Thanx a lot
Peer

keepsound's icon

up, I'm interested too

Ishmael Ali's icon
Claus Sohn Andersen's icon

Still nothing?

2K's icon

for 2 check the new [thispatcher] helpfile in Max8!