Page 1 of 1

Container Scripting

Posted: 27 Mar 2013 17:19
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

Re: Container Scripting

Posted: 27 Mar 2013 22:15
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.....

Re: Container Scripting

Posted: 27 Mar 2013 22:35
by Softcore

Re: Container Scripting

Posted: 28 Mar 2013 06:47
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.