9 Replies Latest reply on Aug 24, 2010 8:23 AM by BradEvans

    Running a script in a tabbed layout

    BradEvans

      Title

      Running a script in a tabbed layout

      Post

      I have a layout with two tabs at the top.

      I'd like to run a script whenever either of the tabs at the top are clicked. The problem is I can't find a trigger that will detect when that occurs. Perhaps there's something I'm not understanding.

      I tried overlaying a button (rectangle with a trigger) on top of the tabs, but when clicked the tab changes the layout and the button trigger is ignored. If I drag the button a little off the tab, and click that part only not within the tab, the trigger works fine.

      Perhaps there's a subtle way to detect when a new tab has been clicked?

      Thanks!