Creating expanding windows?
Does any one know if it possible to create expanding windows. I want to create a patch which has a very basic mode which will consist of a few menus and bang which sets every thing to go, but also want a more advanced mode which can be viewed from pressing a button which will then a expand a window to reveal all the available settings!
How can i do this? bpatcher is along the lines but that has to be manually expanded, i want it preset? Any insight would be great thanks?
From memory, windowsize messages to thispatcher would do this.
So what you mean is, if i had a bpatcher with some window size messages out of view, i could then trigger them via a bang, which would then change the size? Is this right?
I don’t think it works for bpatchers, no (although I haven’t checked) – you put thispatcher in your top level patcher, and then the message would resize the window of that. Didn’t realise it needed to be in a bpatcher.
I think there is a "window size" command you can send to the
[thispatcher] object that will do exactly what you want. Check the
help patches for [thispatcher].
On Mar 27, 2008, at 8:10 AM, Stuart Spencer
> Hi Peeps!
> Does any one know if it possible to create expanding windows. I want
> to create a patch which has a very basic mode which will consist of
> a few menus and bang which sets every thing to go, but also want a
> more advanced mode which can be viewed from pressing a button which
> will then a expand a window to reveal all the available settings!
> How can i do this? bpatcher is along the lines but that has to be
> manually expanded, i want it preset? Any insight would be great
Yeah bpatcher thats what i would like to use. I just read the thispatcher reference, its sounds like what i need, but not quite right. All i want is something similar to drop down menu but for all my subpatches.
Just had another look and it does mention bpatcher in the section about offset. I will have a mess around and let you know how i get on. For it truly work i need the actual bpatcher to change size not whats in it. But i’ll see soon enough!
Speak soon thanks!
Not sure what you mean by "something similar to drop down menu but for all my subpatches", but if you’re still after resizing bpatchers, I dimly recall you may be able to do this through scripting. It’s been a while though so I may well be wrong.
I tried placing thispatcher in my patch, with a window size message, which works fine in the actual patch, but when the patch is placed within a bpatcher within my main patch it has no response. The message needs to be sent to the bpatcher. The reason i want to use bpatcher is so to only have one main window. What i mean by "like a drop down menu", is that when you click on the ubumenu it then drops down and reveals the list. I want to click a bang which then reveals the rest of the patch within the bpatcher.
Scripting sounds along the right line but i am unsure of how do this, a point in the right direction would be appreciated or maybe an example. Thanks
Wam Bam Thank You Mam. I worked it out! It was in the bloody help file for bpatcher, but in the more section. So sorry wasting peoples time.
How works is to put a thispatcher in the patch within bpatcher with a inlet connected to it. Then with the bpatcher within the main patch, send offset messages to the inlet of the bpatcher.
Thats it, actually quite simple. Thanks for help everyone.
Sorry for sending you off in the wrong direction, then. Sounds like a useful discovery – thanks.
jln, that is fantastic! many many thanks, just what i wanted, it is a shame this is not mentioned in the manual!
While i got ur attention, i have one more question. Can i hide and reveal any object with a similar message?
Variables, strings and all that stuff hurts my head. Kinda makes sense will have to read up on it. LOL! Thanks.
mild throbbing and lights behind your eyes :)
Stuart Spencer wrote:
> Java, ahhhhhhhhhhhhhhhh! Variables, strings and all that stuff hurts
> my head. Kinda makes sense will have to read up on it. LOL! Thanks.
Forums > MaxMSP