Container Scripting

Discuss problems and solutions.
Post Reply
Amplus
Newbie
Posts: 2
Joined: 27 Mar 2013 17:05

Container Scripting

Post by Amplus »

Hello

I just bought Lemur for my iPad and Im currently working on my new template. And I've got some experience from touch OSC, but Im running into the next thing.

Im totally new to scripting and I want to script a tabbed container with some custom buttons.

I want the a container with 3 tabs which are transparent and 3 buttons to switch between the tabs.
I know that I can just turn of the "Show TabBar" but the Tabbuttons a just too small and I can't resize them.

Does anyone know how to scrip this, or know were I can learn more about scripting?

Thanks, Amplus
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Container Scripting

Post by Softcore »

Check out all the available built-in functions of Lemur scripting in the manual - this will help you generally.....

Specifically for your question it is possible to completely hide the container's tabbar and use three other pads-buttons to change the tab of the container

The function you are looking for is selecttab(Container, tabindex)

Oh snap....wait a few secs, I'll upload an example on the modules section 'cause too many people have been asking for this.....
Amplus
Newbie
Posts: 2
Joined: 27 Mar 2013 17:05

Re: Container Scripting

Post by Amplus »

Thanks!

Sorry I didn't know so many people asked for it already.

And thanks for the example.

Im currently reading the manual as my new ebook in public transport, so soon I should know more about it.
Post Reply