A way to enable/disable individual tabs

Discussion created by Claw'd on Dec 20, 2012
Latest reply on Dec 21, 2012 by DavidJondreau

Hi all


This demo file showcases a way to enable/disable any tab or tabs on a tab object.


It uses FileMakers new tab script trigger which fires before the tab is activated and on modification which triggers after the event. these two triggers enable finding which tab was active and which tab is now active, this works quite well over a WAN connection on iOS as well.


Any how as with most things filemaker there are lots of way to do things so putting it up here may help to improve the basic demo.


This functionality helps to do away with having to have buttons replacing tabs or having to make multiple layouts for different view criteria.


A nice touch is that with an enabled tab the mouse over colour changes to indicate activity while if the disabled tab colour is set to the same as the hover colour the tab just sits there not doing anything with it's text greyed out too.