How to create a double layer in the same tab?

Post your Lemur Projects.
Post Reply
Lamur
Newbie
Posts: 3
Joined: 03 Jun 2012 17:53

How to create a double layer in the same tab?

Post by Lamur »

I´m sorry mates, but I read every thread in this forum trying to identify if somebody had the same issue, but i could not find it.

My issue is how to create another layer in the same container (for example: in MU when you press the "Transport" button it shows different things in the same area, also with the red button on the right of the "Transport", if you hold it, it shows different things as well)

Could someone help me please? I spent already lot of time...

BTW, excuse my english... :P
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: How to create a double layer in the same tab?

Post by Phil999 »

do you mean a new tab? Right-click on the container and select 'new tab'.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Lamur
Newbie
Posts: 3
Joined: 03 Jun 2012 17:53

Re: How to create a double layer in the same tab?

Post by Lamur »

No mate, I mean a hide container to shows in front when pressing a button :)
brianc
Regular
Posts: 87
Joined: 10 Jan 2012 02:16

Re: How to create a double layer in the same tab?

Post by brianc »

The most common way to do it is to put two containers in there and decide which one is displayed with the show function:

Code: Select all

show(contA, 0); // hide container A
show(contB, 1); //show container B
Lamur
Newbie
Posts: 3
Joined: 03 Jun 2012 17:53

Re: How to create a double layer in the same tab?

Post by Lamur »

Cheers mate! I Don´t know almost anything about scripting, but I´d really learn!!

I´m using this one because I took it from the Mu template,

if (x==0) { show(sceneNavigator,0); } else if (x==1) { show(sceneNavigator,1); }

But yours IDK how to use it :)
Post Reply