AnsweredAssumed Answered

Assign script to tab panel

Question asked by DLW-BPEX on Nov 16, 2009
Latest reply on Nov 16, 2009 by DLW-BPEX


Assign script to tab panel


In FMP10 Advanced, is it possible to assign a particular script to a single tab panel?

Situation: Tab A, Tab B, Tab C all on a layout. With Tab A showing, I would like to have a particular script launch when I click Tab B. A different script with Tab C. Yet a different when going back to Tab A.


I can overlay a tab with a button to launch the script, but that is effective only AFTER the selected tab's panel is visible. I need it to run the script upon being selected.


I'm sure this can be simulated with fake tabs and buttons, separate layouts, and OnLayoutLoad script triggers for each. But is there a way to do it directly?


Thank you.