how to resize a bpatcher
Does anybody know if/how it is possible to resize a bpatcher with messages?
I’d like my bpatcher to grow/shrink to make some menu appear or not.
I tried to send "size x y" to thispatcher nested in my bpatcher,
similarly to offset setting.
Also tried to send it to thisobject.
Also tried "window size x1 y1 x2 y2, window exec" sent to thispatcher.
Actually if a max guru could give some explanation or link about bpatcher
that would be really nice, becausethis object is still a mysterious
thing for me.
Any other idea that would make that growin/shrinking GUI is welcome ;-)
you should send the size message to the Thispatcher object in the patch containing the bpatcher, using the bpatchers scripting name…
I don’t think resizing is possible with bpatchers. The offset message is
useful for interface changes but If you just want to add something you might
want to use show/hide panel scripting. Just put a named panel with the
background color over your interface and script show/hide messages to
I there are only a few objects you could use the show/hide technique to
address the interface objects directly.
also try "show", "hide" and "move" messages for object scripting.
see the "thispatcher" helpfile (p othermessages) for details
//// http://klingt.org/ground/lift //// http://www.charmant-rouge.com /////
\ http://klingt.org/executive-ensemble \ http://klingt.org/~oliver/prb \
\\\ LIVE-BUILDER: http://es.klingt.org/~oliver/pd/live-builder \\\\
sent through klingt.org webmail
"I tried to send "size x y" to thispatcher nested in my bpatcher"
–> from my original mail, I think this is what I have done…
But I do not understand clearly what you mean by
"using the bpatchers scripting name…" so maybe I missed your point?
I you think it does work, please give me more details about the syntax…
Show/hide doesn’t help because I actually want to always show a small
ubumenu with presets names in the upper left corner of my bpatcher and
allowing to grow the bpatcher to assess other parameters..
thanks for the link!
Max developpers: could it be possible to add such a feature to bpatcher?
You should examine the scripting subpatcher of the thispatcher helpfile,
read the Reference Manual entry for the thispatcher object, and read the
2 chapters about scripting (Chapters 46 and 47) in the Max Tutorials and
Topics book. The message "script size", sent to a thispatcher object,
referring to a named bpatcher, will cause the object to change size.
I knew to me it was possible somehow…
(Basic rule of Max #3c)
I was trying to send the message/script to the thispatcher *inside* the
bpatcher while it should be sent to the thispatcher in the patch containing
Thanks Jeremy for getting me out of this biting one’s tail circle!…
Forums > MaxMSP