How to change the uiTabsTabBackgroundColour property of a specific tab


I have a modulator with 7 tabs. When I receive some specific midi data I would like to change  tab background colour of a tab to show that the tab is active or not.

With the following code I only change the first tab background colour:

panel:getComponent(“tabs”):setProperty(“uiTabsTabBackgroundColour”,”FFCACAC8″, false)

How can I set property uiTabsTabBackgroundColour of a tab by its index ?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.