Finally! FileMaker 12 provides a clean method to control tab switching by script and therefore to show/hide layout objects conditionnally, without requiring tricks like overlappling objects or complex scripts to reset the original tab.
Here is a video and a very simple technique file, extremely easy to reproduce in your own solution.