We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've created an array of Tab objects with ControlP5 1.5.2 and have instantiated tab[0] with the title 'Motion', but when I run my program there are TWO tabs one named 'Default' and the one I created 'Motion'. How do I deal with that default tab? can I remove it? Is it possible to rename it? Thanks.
Answers
All of the above. The easiest is to just .hide() it.
Yes, but I can't get to it. The tab's label reads as "DEFAULT" but guiTab[0] is labelled as "MOTION". If I have an array of Tab then how do I reference that default tab in order to .hide() it?
cp5.getTab("default").setLabel("MOTION");
I'm not sure if you can remove the default tab but this is how you rename it to MOTION.
I'm tired with messing with it, so I just used .setPositionOfTabs() to move it off the Control Window completely.