AnsweredAssumed Answered

Get Active Tab Name -- How?

Question asked by MorkAfur on Nov 10, 2014
Latest reply on Mar 20, 2017 by rogerb52


Get Active Tab Name -- How?


There doesn't seem to be a GET function like Get(ActiveTabName), so what's the trick to know what tab you're on (in a script, of course)?

The only documentation I can find from FileMaker seems to assume I want to change tab to a named tab object. I can do that, but that's not what I want to do.

My issue is that I have a toolbar whose buttons don't apply to each tab. Trying to put just "some" buttons on the various tabs would lead to a inconsistent design.

The only other thing I found was to use the script step for when you change the tab. So, do I really need to do something like create a global variable ($$) and update it in a script each time I change tabs? That seems to be the only way to know the active tab name.

Hopefully, I've overlooked a simpler method.

Look forward to any suggestions.