Forums > MaxMSP

customize patcher tabs

August 19, 2013 | 3:45 am

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


August 20, 2013 | 9:44 am

does nobody has a hint for me ?


August 21, 2013 | 2:31 am

1) and 2)

– Pasted Max Patch, click to expand. –

-

3) ??


August 22, 2013 | 1:20 am

thanks metamax,

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

perhaps sombody from cycling74 has a tip ?

yon


August 22, 2013 | 2:28 am

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.

– Pasted Max Patch, click to expand. –

August 23, 2013 | 3:47 am

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


August 23, 2013 | 5:25 am

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…


Viewing 7 posts - 1 through 7 (of 7 total)